21 private static $stateAttributeCode =
'state';
26 private static $customerGroupAttributeCode =
'customer_group_id';
31 private $groupRepository;
52 case self::$stateAttributeCode:
53 $this->setStateValue();
55 case self::$customerGroupAttributeCode:
56 $this->setCustomerGroupValue();
67 private function setStateValue()
81 private function setCustomerGroupValue()
87 }
catch (NoSuchEntityException $e) {
setCustomAttribute($attributeCode, $attributeValue)
getData($key='', $index=null)
getCustomAttribute($attributeCode)
__construct(AttributeValueFactory $attributeValueFactory, GroupRepositoryInterface $groupRepository)