Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Region.php
Go to the documentation of this file.
1 <?php
7 
14 {
20  public function getRegionCode()
21  {
22  return $this->_get(self::REGION_CODE);
23  }
24 
30  public function getRegion()
31  {
32  return $this->_get(self::REGION);
33  }
34 
40  public function getRegionId()
41  {
42  return $this->_get(self::REGION_ID);
43  }
44 
51  public function setRegionCode($regionCode)
52  {
53  return $this->setData(self::REGION_CODE, $regionCode);
54  }
55 
62  public function setRegion($region)
63  {
64  return $this->setData(self::REGION, $region);
65  }
66 
73  public function setRegionId($regionId)
74  {
75  return $this->setData(self::REGION_ID, $regionId);
76  }
77 
83  public function getExtensionAttributes()
84  {
85  return $this->_getExtensionAttributes();
86  }
87 
94  public function setExtensionAttributes(\Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes)
95  {
96  return $this->_setExtensionAttributes($extensionAttributes);
97  }
98 }
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setExtensionAttributes(\Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes)
Definition: Region.php:94
$extensionAttributes
Definition: payment.php:22