commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomerAddress.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface CustomerAddress extends JsonObject
16 {
17  public const FIELD_KEY = 'key';
18  public const FIELD_TITLE = 'title';
19  public const FIELD_SALUTATION = 'salutation';
20  public const FIELD_FIRST_NAME = 'firstName';
21  public const FIELD_LAST_NAME = 'lastName';
22  public const FIELD_STREET_NAME = 'streetName';
23  public const FIELD_STREET_NUMBER = 'streetNumber';
24  public const FIELD_ADDITIONAL_STREET_INFO = 'additionalStreetInfo';
25  public const FIELD_POSTAL_CODE = 'postalCode';
26  public const FIELD_CITY = 'city';
27  public const FIELD_REGION = 'region';
28  public const FIELD_STATE = 'state';
29  public const FIELD_COUNTRY = 'country';
30  public const FIELD_COMPANY = 'company';
31  public const FIELD_DEPARTMENT = 'department';
32  public const FIELD_BUILDING = 'building';
33  public const FIELD_APARTMENT = 'apartment';
34  public const FIELD_P_O_BOX = 'pOBox';
35  public const FIELD_PHONE = 'phone';
36  public const FIELD_MOBILE = 'mobile';
37  public const FIELD_EMAIL = 'email';
38  public const FIELD_FAX = 'fax';
39  public const FIELD_ADDITIONAL_ADDRESS_INFO = 'additionalAddressInfo';
40  public const FIELD_EXTERNAL_ID = 'externalId';
41  public const FIELD_CUSTOM = 'custom';
42 
50  public function getKey();
51 
56  public function getTitle();
57 
62  public function getSalutation();
63 
68  public function getFirstName();
69 
74  public function getLastName();
75 
80  public function getStreetName();
81 
86  public function getStreetNumber();
87 
92  public function getAdditionalStreetInfo();
93 
98  public function getPostalCode();
99 
104  public function getCity();
105 
110  public function getRegion();
111 
116  public function getState();
117 
124  public function getCountry();
125 
130  public function getCompany();
131 
136  public function getDepartment();
137 
142  public function getBuilding();
143 
148  public function getApartment();
149 
154  public function getPOBox();
155 
160  public function getPhone();
161 
166  public function getMobile();
167 
172  public function getEmail();
173 
178  public function getFax();
179 
184  public function getAdditionalAddressInfo();
185 
190  public function getExternalId();
191 
198  public function getCustom();
199 
203  public function setKey(?string $key): void;
204 
208  public function setTitle(?string $title): void;
209 
213  public function setSalutation(?string $salutation): void;
214 
218  public function setFirstName(?string $firstName): void;
219 
223  public function setLastName(?string $lastName): void;
224 
228  public function setStreetName(?string $streetName): void;
229 
233  public function setStreetNumber(?string $streetNumber): void;
234 
238  public function setAdditionalStreetInfo(?string $additionalStreetInfo): void;
239 
243  public function setPostalCode(?string $postalCode): void;
244 
248  public function setCity(?string $city): void;
249 
253  public function setRegion(?string $region): void;
254 
258  public function setState(?string $state): void;
259 
263  public function setCountry(?string $country): void;
264 
268  public function setCompany(?string $company): void;
269 
273  public function setDepartment(?string $department): void;
274 
278  public function setBuilding(?string $building): void;
279 
283  public function setApartment(?string $apartment): void;
284 
288  public function setPOBox(?string $pOBox): void;
289 
293  public function setPhone(?string $phone): void;
294 
298  public function setMobile(?string $mobile): void;
299 
303  public function setEmail(?string $email): void;
304 
308  public function setFax(?string $fax): void;
309 
313  public function setAdditionalAddressInfo(?string $additionalAddressInfo): void;
314 
318  public function setExternalId(?string $externalId): void;
319 
323  public function setCustom(?Custom $custom): void;
324 }
setAdditionalStreetInfo(?string $additionalStreetInfo)
setAdditionalAddressInfo(?string $additionalAddressInfo)