11 use \Magento\Framework\Api\AttributeValueFactory;
49 if ($this->customAttributesCodes ===
null) {
50 $this->customAttributesCodes = $this->getEavAttributesCodes($this->metadataService);
62 return $this->
_get(self::ID);
72 return $this->
_get(self::REGION);
82 return $this->
_get(self::REGION_ID);
92 return $this->
_get(self::COUNTRY_ID);
102 return $this->
_get(self::STREET);
112 return $this->
_get(self::COMPANY);
122 return $this->
_get(self::TELEPHONE);
132 return $this->
_get(self::FAX);
142 return $this->
_get(self::POSTCODE);
152 return $this->
_get(self::CITY);
162 return $this->
_get(self::FIRSTNAME);
172 return $this->
_get(self::LASTNAME);
182 return $this->
_get(self::MIDDLENAME);
192 return $this->
_get(self::PREFIX);
202 return $this->
_get(self::SUFFIX);
212 return $this->
_get(self::VAT_ID);
222 return $this->
_get(self::CUSTOMER_ID);
232 return $this->
_get(self::DEFAULT_SHIPPING);
242 return $this->
_get(self::DEFAULT_BILLING);
275 return $this->
setData(self::REGION, $region);
286 return $this->
setData(self::REGION_ID, $regionId);
297 return $this->
setData(self::COUNTRY_ID, $countryId);
308 return $this->
setData(self::STREET, $street);
319 return $this->
setData(self::COMPANY, $company);
330 return $this->
setData(self::TELEPHONE, $telephone);
341 return $this->
setData(self::FAX, $fax);
352 return $this->
setData(self::POSTCODE, $postcode);
363 return $this->
setData(self::CITY, $city);
374 return $this->
setData(self::FIRSTNAME, $firstName);
385 return $this->
setData(self::LASTNAME, $lastName);
396 return $this->
setData(self::MIDDLENAME, $middleName);
429 return $this->
setData(self::VAT_ID, $vatId);
440 return $this->
setData(self::DEFAULT_SHIPPING, $isDefaultShipping);
451 return $this->
setData(self::DEFAULT_BILLING, $isDefaultBilling);
setIsDefaultBilling($isDefaultBilling)
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setRegion(RegionInterface $region=null)
setMiddlename($middleName)
setCustomerId($customerId)
getCustomAttributesCodes()
setIsDefaultShipping($isDefaultShipping)
__construct(\Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, AttributeValueFactory $attributeValueFactory, \Magento\Customer\Api\AddressMetadataInterface $metadataService, $data=[])
setExtensionAttributes(\Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes)
_getExtensionAttributes()