getAddress()->getCustomAttribute($attributeCode); return $attribute instanceof AttributeInterface? $attribute->getValue():''; } public function getRegionId() { return (int)$this->getAddress()->getRegionId(); } }