commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
BaseAddress.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface BaseAddress extends JsonObject
15 {
16  public const FIELD_ID = 'id';
17  public const FIELD_KEY = 'key';
18  public const FIELD_COUNTRY = 'country';
19  public const FIELD_TITLE = 'title';
20  public const FIELD_SALUTATION = 'salutation';
21  public const FIELD_FIRST_NAME = 'firstName';
22  public const FIELD_LAST_NAME = 'lastName';
23  public const FIELD_STREET_NAME = 'streetName';
24  public const FIELD_STREET_NUMBER = 'streetNumber';
25  public const FIELD_ADDITIONAL_STREET_INFO = 'additionalStreetInfo';
26  public const FIELD_POSTAL_CODE = 'postalCode';
27  public const FIELD_CITY = 'city';
28  public const FIELD_REGION = 'region';
29  public const FIELD_STATE = 'state';
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 
50  public function getId();
51 
58  public function getKey();
59 
66  public function getCountry();
67 
74  public function getTitle();
75 
82  public function getSalutation();
83 
90  public function getFirstName();
91 
98  public function getLastName();
99 
106  public function getStreetName();
107 
114  public function getStreetNumber();
115 
122  public function getAdditionalStreetInfo();
123 
130  public function getPostalCode();
131 
138  public function getCity();
139 
146  public function getRegion();
147 
154  public function getState();
155 
162  public function getCompany();
163 
170  public function getDepartment();
171 
178  public function getBuilding();
179 
186  public function getApartment();
187 
194  public function getPOBox();
195 
202  public function getPhone();
203 
210  public function getMobile();
211 
218  public function getEmail();
219 
226  public function getFax();
227 
234  public function getAdditionalAddressInfo();
235 
242  public function getExternalId();
243 
247  public function setId(?string $id): void;
248 
252  public function setKey(?string $key): void;
253 
257  public function setCountry(?string $country): void;
258 
262  public function setTitle(?string $title): void;
263 
267  public function setSalutation(?string $salutation): void;
268 
272  public function setFirstName(?string $firstName): void;
273 
277  public function setLastName(?string $lastName): void;
278 
282  public function setStreetName(?string $streetName): void;
283 
287  public function setStreetNumber(?string $streetNumber): void;
288 
292  public function setAdditionalStreetInfo(?string $additionalStreetInfo): void;
293 
297  public function setPostalCode(?string $postalCode): void;
298 
302  public function setCity(?string $city): void;
303 
307  public function setRegion(?string $region): void;
308 
312  public function setState(?string $state): void;
313 
317  public function setCompany(?string $company): void;
318 
322  public function setDepartment(?string $department): void;
323 
327  public function setBuilding(?string $building): void;
328 
332  public function setApartment(?string $apartment): void;
333 
337  public function setPOBox(?string $pOBox): void;
338 
342  public function setPhone(?string $phone): void;
343 
347  public function setMobile(?string $mobile): void;
348 
352  public function setEmail(?string $email): void;
353 
357  public function setFax(?string $fax): void;
358 
362  public function setAdditionalAddressInfo(?string $additionalAddressInfo): void;
363 
367  public function setExternalId(?string $externalId): void;
368 }
setAdditionalAddressInfo(?string $additionalAddressInfo)
setAdditionalStreetInfo(?string $additionalStreetInfo)