commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyCustomerDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\Common\BaseAddressCollection
;
12
use
Commercetools\Api\Models\Store\StoreResourceIdentifierCollection
;
13
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
MyCustomerDraft
extends
JsonObject
19
{
20
public
const
FIELD_EMAIL
=
'email'
;
21
public
const
FIELD_PASSWORD
=
'password'
;
22
public
const
FIELD_FIRST_NAME
=
'firstName'
;
23
public
const
FIELD_LAST_NAME
=
'lastName'
;
24
public
const
FIELD_MIDDLE_NAME
=
'middleName'
;
25
public
const
FIELD_TITLE
=
'title'
;
26
public
const
FIELD_SALUTATION
=
'salutation'
;
27
public
const
FIELD_DATE_OF_BIRTH
=
'dateOfBirth'
;
28
public
const
FIELD_COMPANY_NAME
=
'companyName'
;
29
public
const
FIELD_VAT_ID
=
'vatId'
;
30
public
const
FIELD_ADDRESSES
=
'addresses'
;
31
public
const
FIELD_DEFAULT_SHIPPING_ADDRESS
=
'defaultShippingAddress'
;
32
public
const
FIELD_DEFAULT_BILLING_ADDRESS
=
'defaultBillingAddress'
;
33
public
const
FIELD_CUSTOM
=
'custom'
;
34
public
const
FIELD_LOCALE
=
'locale'
;
35
public
const
FIELD_STORES
=
'stores'
;
36
44
public
function
getEmail
();
45
52
public
function
getPassword
();
53
60
public
function
getFirstName
();
61
68
public
function
getLastName
();
69
76
public
function
getMiddleName
();
77
84
public
function
getTitle
();
85
92
public
function
getSalutation
();
93
100
public
function
getDateOfBirth
();
101
108
public
function
getCompanyName
();
109
116
public
function
getVatId
();
117
124
public
function
getAddresses
();
125
133
public
function
getDefaultShippingAddress
();
134
142
public
function
getDefaultBillingAddress
();
143
150
public
function
getCustom
();
151
158
public
function
getLocale
();
159
166
public
function
getStores
();
167
171
public
function
setEmail
(?
string
$email): void;
172
176
public
function
setPassword
(?
string
$password): void;
177
181
public
function
setFirstName
(?
string
$firstName): void;
182
186
public
function
setLastName
(?
string
$lastName): void;
187
191
public
function
setMiddleName
(?
string
$middleName): void;
192
196
public
function
setTitle
(?
string
$title): void;
197
201
public
function
setSalutation
(?
string
$salutation): void;
202
206
public
function
setDateOfBirth
(?DateTimeImmutable $dateOfBirth): void;
207
211
public
function
setCompanyName
(?
string
$companyName): void;
212
216
public
function
setVatId
(?
string
$vatId): void;
217
221
public
function
setAddresses
(?
BaseAddressCollection
$addresses): void;
222
226
public
function
setDefaultShippingAddress
(?
int
$defaultShippingAddress): void;
227
231
public
function
setDefaultBillingAddress
(?
int
$defaultBillingAddress): void;
232
236
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
237
241
public
function
setLocale
(?
string
$locale): void;
242
246
public
function
setStores
(?
StoreResourceIdentifierCollection
$stores): void;
247
}
Commercetools\Api\Models\Common\BaseAddressCollection
Definition:
BaseAddressCollection.php:26
Commercetools\Api\Models\Store\StoreResourceIdentifierCollection
Definition:
StoreResourceIdentifierCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Me\MyCustomerDraft
Definition:
MyCustomerDraft.php:19
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_LOCALE
const FIELD_LOCALE
Definition:
MyCustomerDraft.php:34
Commercetools\Api\Models\Me\MyCustomerDraft\getPassword
getPassword()
Commercetools\Api\Models\Me\MyCustomerDraft\getVatId
getVatId()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_MIDDLE_NAME
const FIELD_MIDDLE_NAME
Definition:
MyCustomerDraft.php:24
Commercetools\Api\Models\Me\MyCustomerDraft\setLastName
setLastName(?string $lastName)
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
MyCustomerDraft.php:33
Commercetools\Api\Models\Me\MyCustomerDraft\getDefaultBillingAddress
getDefaultBillingAddress()
Commercetools\Api\Models\Me\MyCustomerDraft\setLocale
setLocale(?string $locale)
Commercetools\Api\Models\Me\MyCustomerDraft\setFirstName
setFirstName(?string $firstName)
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_VAT_ID
const FIELD_VAT_ID
Definition:
MyCustomerDraft.php:29
Commercetools\Api\Models\Me\MyCustomerDraft\getLocale
getLocale()
Commercetools\Api\Models\Me\MyCustomerDraft\getEmail
getEmail()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_TITLE
const FIELD_TITLE
Definition:
MyCustomerDraft.php:25
Commercetools\Api\Models\Me\MyCustomerDraft\setDefaultShippingAddress
setDefaultShippingAddress(?int $defaultShippingAddress)
Commercetools\Api\Models\Me\MyCustomerDraft\getCompanyName
getCompanyName()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_FIRST_NAME
const FIELD_FIRST_NAME
Definition:
MyCustomerDraft.php:22
Commercetools\Api\Models\Me\MyCustomerDraft\getMiddleName
getMiddleName()
Commercetools\Api\Models\Me\MyCustomerDraft\setPassword
setPassword(?string $password)
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_LAST_NAME
const FIELD_LAST_NAME
Definition:
MyCustomerDraft.php:23
Commercetools\Api\Models\Me\MyCustomerDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_SALUTATION
const FIELD_SALUTATION
Definition:
MyCustomerDraft.php:26
Commercetools\Api\Models\Me\MyCustomerDraft\getDefaultShippingAddress
getDefaultShippingAddress()
Commercetools\Api\Models\Me\MyCustomerDraft\setCompanyName
setCompanyName(?string $companyName)
Commercetools\Api\Models\Me\MyCustomerDraft\setTitle
setTitle(?string $title)
Commercetools\Api\Models\Me\MyCustomerDraft\setAddresses
setAddresses(?BaseAddressCollection $addresses)
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_COMPANY_NAME
const FIELD_COMPANY_NAME
Definition:
MyCustomerDraft.php:28
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_EMAIL
const FIELD_EMAIL
Definition:
MyCustomerDraft.php:20
Commercetools\Api\Models\Me\MyCustomerDraft\getAddresses
getAddresses()
Commercetools\Api\Models\Me\MyCustomerDraft\setStores
setStores(?StoreResourceIdentifierCollection $stores)
Commercetools\Api\Models\Me\MyCustomerDraft\getLastName
getLastName()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_DATE_OF_BIRTH
const FIELD_DATE_OF_BIRTH
Definition:
MyCustomerDraft.php:27
Commercetools\Api\Models\Me\MyCustomerDraft\setVatId
setVatId(?string $vatId)
Commercetools\Api\Models\Me\MyCustomerDraft\setEmail
setEmail(?string $email)
Commercetools\Api\Models\Me\MyCustomerDraft\getStores
getStores()
Commercetools\Api\Models\Me\MyCustomerDraft\getDateOfBirth
getDateOfBirth()
Commercetools\Api\Models\Me\MyCustomerDraft\setMiddleName
setMiddleName(?string $middleName)
Commercetools\Api\Models\Me\MyCustomerDraft\getSalutation
getSalutation()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_STORES
const FIELD_STORES
Definition:
MyCustomerDraft.php:35
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_DEFAULT_SHIPPING_ADDRESS
const FIELD_DEFAULT_SHIPPING_ADDRESS
Definition:
MyCustomerDraft.php:31
Commercetools\Api\Models\Me\MyCustomerDraft\getTitle
getTitle()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_PASSWORD
const FIELD_PASSWORD
Definition:
MyCustomerDraft.php:21
Commercetools\Api\Models\Me\MyCustomerDraft\getFirstName
getFirstName()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_ADDRESSES
const FIELD_ADDRESSES
Definition:
MyCustomerDraft.php:30
Commercetools\Api\Models\Me\MyCustomerDraft\setSalutation
setSalutation(?string $salutation)
Commercetools\Api\Models\Me\MyCustomerDraft\getCustom
getCustom()
Commercetools\Api\Models\Me\MyCustomerDraft\FIELD_DEFAULT_BILLING_ADDRESS
const FIELD_DEFAULT_BILLING_ADDRESS
Definition:
MyCustomerDraft.php:32
Commercetools\Api\Models\Me\MyCustomerDraft\setDefaultBillingAddress
setDefaultBillingAddress(?int $defaultBillingAddress)
Commercetools\Api\Models\Me\MyCustomerDraft\setDateOfBirth
setDateOfBirth(?DateTimeImmutable $dateOfBirth)
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1