commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
BaseAddress.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseAddress
Definition:
BaseAddress.php:15
Commercetools\Api\Models\Common\BaseAddress\setStreetNumber
setStreetNumber(?string $streetNumber)
Commercetools\Api\Models\Common\BaseAddress\setAdditionalAddressInfo
setAdditionalAddressInfo(?string $additionalAddressInfo)
Commercetools\Api\Models\Common\BaseAddress\getPhone
getPhone()
Commercetools\Api\Models\Common\BaseAddress\FIELD_KEY
const FIELD_KEY
Definition:
BaseAddress.php:17
Commercetools\Api\Models\Common\BaseAddress\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
BaseAddress.php:18
Commercetools\Api\Models\Common\BaseAddress\setExternalId
setExternalId(?string $externalId)
Commercetools\Api\Models\Common\BaseAddress\getFax
getFax()
Commercetools\Api\Models\Common\BaseAddress\setId
setId(?string $id)
Commercetools\Api\Models\Common\BaseAddress\setApartment
setApartment(?string $apartment)
Commercetools\Api\Models\Common\BaseAddress\setMobile
setMobile(?string $mobile)
Commercetools\Api\Models\Common\BaseAddress\getStreetNumber
getStreetNumber()
Commercetools\Api\Models\Common\BaseAddress\getEmail
getEmail()
Commercetools\Api\Models\Common\BaseAddress\FIELD_STREET_NUMBER
const FIELD_STREET_NUMBER
Definition:
BaseAddress.php:24
Commercetools\Api\Models\Common\BaseAddress\getTitle
getTitle()
Commercetools\Api\Models\Common\BaseAddress\getStreetName
getStreetName()
Commercetools\Api\Models\Common\BaseAddress\FIELD_REGION
const FIELD_REGION
Definition:
BaseAddress.php:28
Commercetools\Api\Models\Common\BaseAddress\getState
getState()
Commercetools\Api\Models\Common\BaseAddress\setEmail
setEmail(?string $email)
Commercetools\Api\Models\Common\BaseAddress\FIELD_APARTMENT
const FIELD_APARTMENT
Definition:
BaseAddress.php:33
Commercetools\Api\Models\Common\BaseAddress\getAdditionalAddressInfo
getAdditionalAddressInfo()
Commercetools\Api\Models\Common\BaseAddress\FIELD_ADDITIONAL_STREET_INFO
const FIELD_ADDITIONAL_STREET_INFO
Definition:
BaseAddress.php:25
Commercetools\Api\Models\Common\BaseAddress\FIELD_MOBILE
const FIELD_MOBILE
Definition:
BaseAddress.php:36
Commercetools\Api\Models\Common\BaseAddress\getPostalCode
getPostalCode()
Commercetools\Api\Models\Common\BaseAddress\getMobile
getMobile()
Commercetools\Api\Models\Common\BaseAddress\getPOBox
getPOBox()
Commercetools\Api\Models\Common\BaseAddress\getKey
getKey()
Commercetools\Api\Models\Common\BaseAddress\FIELD_DEPARTMENT
const FIELD_DEPARTMENT
Definition:
BaseAddress.php:31
Commercetools\Api\Models\Common\BaseAddress\setAdditionalStreetInfo
setAdditionalStreetInfo(?string $additionalStreetInfo)
Commercetools\Api\Models\Common\BaseAddress\getCompany
getCompany()
Commercetools\Api\Models\Common\BaseAddress\getSalutation
getSalutation()
Commercetools\Api\Models\Common\BaseAddress\setFax
setFax(?string $fax)
Commercetools\Api\Models\Common\BaseAddress\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Common\BaseAddress\getFirstName
getFirstName()
Commercetools\Api\Models\Common\BaseAddress\FIELD_COMPANY
const FIELD_COMPANY
Definition:
BaseAddress.php:30
Commercetools\Api\Models\Common\BaseAddress\setPhone
setPhone(?string $phone)
Commercetools\Api\Models\Common\BaseAddress\setPOBox
setPOBox(?string $pOBox)
Commercetools\Api\Models\Common\BaseAddress\FIELD_POSTAL_CODE
const FIELD_POSTAL_CODE
Definition:
BaseAddress.php:26
Commercetools\Api\Models\Common\BaseAddress\FIELD_STREET_NAME
const FIELD_STREET_NAME
Definition:
BaseAddress.php:23
Commercetools\Api\Models\Common\BaseAddress\FIELD_SALUTATION
const FIELD_SALUTATION
Definition:
BaseAddress.php:20
Commercetools\Api\Models\Common\BaseAddress\setState
setState(?string $state)
Commercetools\Api\Models\Common\BaseAddress\FIELD_EXTERNAL_ID
const FIELD_EXTERNAL_ID
Definition:
BaseAddress.php:40
Commercetools\Api\Models\Common\BaseAddress\getApartment
getApartment()
Commercetools\Api\Models\Common\BaseAddress\FIELD_ID
const FIELD_ID
Definition:
BaseAddress.php:16
Commercetools\Api\Models\Common\BaseAddress\getAdditionalStreetInfo
getAdditionalStreetInfo()
Commercetools\Api\Models\Common\BaseAddress\setPostalCode
setPostalCode(?string $postalCode)
Commercetools\Api\Models\Common\BaseAddress\FIELD_CITY
const FIELD_CITY
Definition:
BaseAddress.php:27
Commercetools\Api\Models\Common\BaseAddress\FIELD_LAST_NAME
const FIELD_LAST_NAME
Definition:
BaseAddress.php:22
Commercetools\Api\Models\Common\BaseAddress\FIELD_TITLE
const FIELD_TITLE
Definition:
BaseAddress.php:19
Commercetools\Api\Models\Common\BaseAddress\FIELD_P_O_BOX
const FIELD_P_O_BOX
Definition:
BaseAddress.php:34
Commercetools\Api\Models\Common\BaseAddress\FIELD_BUILDING
const FIELD_BUILDING
Definition:
BaseAddress.php:32
Commercetools\Api\Models\Common\BaseAddress\setKey
setKey(?string $key)
Commercetools\Api\Models\Common\BaseAddress\setFirstName
setFirstName(?string $firstName)
Commercetools\Api\Models\Common\BaseAddress\FIELD_ADDITIONAL_ADDRESS_INFO
const FIELD_ADDITIONAL_ADDRESS_INFO
Definition:
BaseAddress.php:39
Commercetools\Api\Models\Common\BaseAddress\getId
getId()
Commercetools\Api\Models\Common\BaseAddress\getLastName
getLastName()
Commercetools\Api\Models\Common\BaseAddress\FIELD_STATE
const FIELD_STATE
Definition:
BaseAddress.php:29
Commercetools\Api\Models\Common\BaseAddress\getCity
getCity()
Commercetools\Api\Models\Common\BaseAddress\getDepartment
getDepartment()
Commercetools\Api\Models\Common\BaseAddress\setDepartment
setDepartment(?string $department)
Commercetools\Api\Models\Common\BaseAddress\FIELD_FIRST_NAME
const FIELD_FIRST_NAME
Definition:
BaseAddress.php:21
Commercetools\Api\Models\Common\BaseAddress\getExternalId
getExternalId()
Commercetools\Api\Models\Common\BaseAddress\setRegion
setRegion(?string $region)
Commercetools\Api\Models\Common\BaseAddress\setSalutation
setSalutation(?string $salutation)
Commercetools\Api\Models\Common\BaseAddress\setCompany
setCompany(?string $company)
Commercetools\Api\Models\Common\BaseAddress\FIELD_FAX
const FIELD_FAX
Definition:
BaseAddress.php:38
Commercetools\Api\Models\Common\BaseAddress\FIELD_PHONE
const FIELD_PHONE
Definition:
BaseAddress.php:35
Commercetools\Api\Models\Common\BaseAddress\setTitle
setTitle(?string $title)
Commercetools\Api\Models\Common\BaseAddress\FIELD_EMAIL
const FIELD_EMAIL
Definition:
BaseAddress.php:37
Commercetools\Api\Models\Common\BaseAddress\setLastName
setLastName(?string $lastName)
Commercetools\Api\Models\Common\BaseAddress\getCountry
getCountry()
Commercetools\Api\Models\Common\BaseAddress\setBuilding
setBuilding(?string $building)
Commercetools\Api\Models\Common\BaseAddress\setCity
setCity(?string $city)
Commercetools\Api\Models\Common\BaseAddress\getRegion
getRegion()
Commercetools\Api\Models\Common\BaseAddress\setStreetName
setStreetName(?string $streetName)
Commercetools\Api\Models\Common\BaseAddress\getBuilding
getBuilding()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1