Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FakeAddressInterface.php
Go to the documentation of this file.
1 <?php
7 declare(strict_types=1);
8 
10 
12 
17 {
21  const ID = 'id';
22  const CUSTOMER_ID = 'customer_id';
23  const REGION = 'region';
24  const REGIONS = 'regions';
25  const COUNTRY_ID = 'country_id';
26  const STREET = 'street';
27  const COMPANY = 'company';
28  const TELEPHONE = 'telephone';
29  const FAX = 'fax';
30  const POSTCODE = 'postcode';
31  const CITY = 'city';
32  const FIRSTNAME = 'firstname';
33  const LASTNAME = 'lastname';
34  const MIDDLENAME = 'middlename';
35  const PREFIX = 'prefix';
36  const SUFFIX = 'suffix';
37  const VAT_ID = 'vat_id';
38  const DEFAULT_BILLING = 'default_billing';
39  const DEFAULT_SHIPPING = 'default_shipping';
47  public function getId();
48 
54  public function getCustomerId();
55 
61  public function getRegion();
62 
68  public function getRegions();
69 
75  public function getCountryId();
76 
82  public function getStreet();
83 
89  public function getCompany();
90 
96  public function getTelephone();
97 
103  public function getFax();
104 
110  public function getPostcode();
111 
117  public function getCity();
118 
124  public function getFirstname();
125 
131  public function getLastname();
132 
138  public function getMiddlename();
139 
145  public function getPrefix();
146 
152  public function getSuffix();
153 
159  public function getVatId();
160 
166  public function isDefaultShipping();
167 
173  public function isDefaultBilling();
174 
180  public function getExtensionAttributes();
181 
188  public function setExtensionAttributes(
189  \Magento\TestModuleExtensionAttributes\Api\Data\FakeAddressExtensionInterface $extensionAttributes
190  );
191 }
setExtensionAttributes(\Magento\TestModuleExtensionAttributes\Api\Data\FakeAddressExtensionInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22