/** * {@inheritdoc} */ public function getCustomAttributesCodes() { $attributeCodes = array(); foreach ($this->_metadataService->getCustomAddressAttributeMetadata() as $attribute) { $attributeCodes[] = $attribute->getAttributeCode(); } return $attributeCodes; }