Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FakeAddress.php
Go to the documentation of this file.
1 <?php
7 declare(strict_types=1);
8 
10 
13 
15 {
21  public function getId()
22  {
23  return $this->_get(self::ID);
24  }
25 
31  public function getCustomerId()
32  {
33  return $this->_get(self::CUSTOMER_ID);
34  }
35 
41  public function getRegion()
42  {
43  return $this->_get(self::REGION);
44  }
45 
51  public function getRegions()
52  {
53  return $this->_get(self::REGIONS);
54  }
55 
61  public function getCountryId()
62  {
63  return $this->_get(self::COUNTRY_ID);
64  }
65 
71  public function getStreet()
72  {
73  return $this->_get(self::STREET);
74  }
75 
81  public function getCompany()
82  {
83  return $this->_get(self::COMPANY);
84  }
85 
91  public function getTelephone()
92  {
93  return $this->_get(self::TELEPHONE);
94  }
95 
101  public function getFax()
102  {
103  return $this->_get(self::FAX);
104  }
105 
111  public function getPostcode()
112  {
113  return $this->_get(self::POSTCODE);
114  }
115 
121  public function getCity()
122  {
123  return $this->_get(self::CITY);
124  }
125 
131  public function getFirstname()
132  {
133  return $this->_get(self::FIRSTNAME);
134  }
135 
141  public function getLastname()
142  {
143  return $this->_get(self::LASTNAME);
144  }
145 
151  public function getMiddlename()
152  {
153  return $this->_get(self::MIDDLENAME);
154  }
155 
161  public function getPrefix()
162  {
163  return $this->_get(self::PREFIX);
164  }
165 
171  public function getSuffix()
172  {
173  return $this->_get(self::SUFFIX);
174  }
175 
181  public function getVatId()
182  {
183  return $this->_get(self::VAT_ID);
184  }
185 
191  public function isDefaultShipping()
192  {
193  return $this->_get(self::DEFAULT_SHIPPING);
194  }
195 
201  public function getExtensionAttributes()
202  {
203  return $this->_getExtensionAttributes();
204  }
205 
211  public function isDefaultBilling()
212  {
213  return $this->_get(self::DEFAULT_BILLING);
214  }
215 
222  public function setExtensionAttributes(
223  \Magento\TestModuleExtensionAttributes\Api\Data\FakeAddressExtensionInterface $extensionAttributes
224  ) {
225  return $this->_setExtensionAttributes($extensionAttributes);
226  }
227 }
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setExtensionAttributes(\Magento\TestModuleExtensionAttributes\Api\Data\FakeAddressExtensionInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22