commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Customers
CustomerImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Customers
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\CustomerGroupKeyReference
;
14
use
Commercetools\Import\Models\Common\ImportResource
;
15
use
Commercetools\Import\Models\Common\StoreKeyReferenceCollection
;
16
use
Commercetools\Import\Models\Customfields\Custom
;
17
use DateTimeImmutable;
18
19
interface
CustomerImport
extends
ImportResource
20
{
21
public
const
FIELD_CUSTOMER_NUMBER
=
'customerNumber'
;
22
public
const
FIELD_EMAIL
=
'email'
;
23
public
const
FIELD_PASSWORD
=
'password'
;
24
public
const
FIELD_STORES
=
'stores'
;
25
public
const
FIELD_FIRST_NAME
=
'firstName'
;
26
public
const
FIELD_LAST_NAME
=
'lastName'
;
27
public
const
FIELD_MIDDLE_NAME
=
'middleName'
;
28
public
const
FIELD_TITLE
=
'title'
;
29
public
const
FIELD_SALUTATION
=
'salutation'
;
30
public
const
FIELD_EXTERNAL_ID
=
'externalId'
;
31
public
const
FIELD_DATE_OF_BIRTH
=
'dateOfBirth'
;
32
public
const
FIELD_COMPANY_NAME
=
'companyName'
;
33
public
const
FIELD_VAT_ID
=
'vatId'
;
34
public
const
FIELD_IS_EMAIL_VERIFIED
=
'isEmailVerified'
;
35
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
36
public
const
FIELD_ADDRESSES
=
'addresses'
;
37
public
const
FIELD_DEFAULT_BILLING_ADDRESS
=
'defaultBillingAddress'
;
38
public
const
FIELD_BILLING_ADDRESSES
=
'billingAddresses'
;
39
public
const
FIELD_DEFAULT_SHIPPING_ADDRESS
=
'defaultShippingAddress'
;
40
public
const
FIELD_SHIPPING_ADDRESSES
=
'shippingAddresses'
;
41
public
const
FIELD_LOCALE
=
'locale'
;
42
public
const
FIELD_CUSTOM
=
'custom'
;
43
public
const
FIELD_AUTHENTICATION_MODE
=
'authenticationMode'
;
44
51
public
function
getKey
();
52
59
public
function
getCustomerNumber
();
60
67
public
function
getEmail
();
68
75
public
function
getPassword
();
76
83
public
function
getStores
();
84
91
public
function
getFirstName
();
92
99
public
function
getLastName
();
100
107
public
function
getMiddleName
();
108
115
public
function
getTitle
();
116
123
public
function
getSalutation
();
124
131
public
function
getExternalId
();
132
139
public
function
getDateOfBirth
();
140
147
public
function
getCompanyName
();
148
155
public
function
getVatId
();
156
163
public
function
getIsEmailVerified
();
164
172
public
function
getCustomerGroup
();
173
180
public
function
getAddresses
();
181
188
public
function
getDefaultBillingAddress
();
189
196
public
function
getBillingAddresses
();
197
204
public
function
getDefaultShippingAddress
();
205
212
public
function
getShippingAddresses
();
213
220
public
function
getLocale
();
221
228
public
function
getCustom
();
229
239
public
function
getAuthenticationMode
();
240
244
public
function
setKey
(?
string
$key): void;
245
249
public
function
setCustomerNumber
(?
string
$customerNumber): void;
250
254
public
function
setEmail
(?
string
$email): void;
255
259
public
function
setPassword
(?
string
$password): void;
260
264
public
function
setStores
(?
StoreKeyReferenceCollection
$stores): void;
265
269
public
function
setFirstName
(?
string
$firstName): void;
270
274
public
function
setLastName
(?
string
$lastName): void;
275
279
public
function
setMiddleName
(?
string
$middleName): void;
280
284
public
function
setTitle
(?
string
$title): void;
285
289
public
function
setSalutation
(?
string
$salutation): void;
290
294
public
function
setExternalId
(?
string
$externalId): void;
295
299
public
function
setDateOfBirth
(?DateTimeImmutable $dateOfBirth): void;
300
304
public
function
setCompanyName
(?
string
$companyName): void;
305
309
public
function
setVatId
(?
string
$vatId): void;
310
314
public
function
setIsEmailVerified
(?
bool
$isEmailVerified): void;
315
319
public
function
setCustomerGroup
(?
CustomerGroupKeyReference
$customerGroup): void;
320
324
public
function
setAddresses
(?
CustomerAddressCollection
$addresses): void;
325
329
public
function
setDefaultBillingAddress
(?
int
$defaultBillingAddress): void;
330
334
public
function
setBillingAddresses
(?array $billingAddresses): void;
335
339
public
function
setDefaultShippingAddress
(?
int
$defaultShippingAddress): void;
340
344
public
function
setShippingAddresses
(?array $shippingAddresses): void;
345
349
public
function
setLocale
(?
string
$locale): void;
350
354
public
function
setCustom
(?
Custom
$custom): void;
355
359
public
function
setAuthenticationMode
(?
string
$authenticationMode): void;
360
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\StoreKeyReferenceCollection
Definition:
StoreKeyReferenceCollection.php:22
Commercetools\Import\Models\Customers\CustomerAddressCollection
Definition:
CustomerAddressCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\CustomerGroupKeyReference
Definition:
CustomerGroupKeyReference.php:15
Commercetools\Import\Models\Common\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Customers\CustomerImport
Definition:
CustomerImport.php:20
Commercetools\Import\Models\Customers\CustomerImport\setCompanyName
setCompanyName(?string $companyName)
Commercetools\Import\Models\Customers\CustomerImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Customers\CustomerImport\getEmail
getEmail()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_DEFAULT_BILLING_ADDRESS
const FIELD_DEFAULT_BILLING_ADDRESS
Definition:
CustomerImport.php:37
Commercetools\Import\Models\Customers\CustomerImport\FIELD_LAST_NAME
const FIELD_LAST_NAME
Definition:
CustomerImport.php:26
Commercetools\Import\Models\Customers\CustomerImport\setLastName
setLastName(?string $lastName)
Commercetools\Import\Models\Customers\CustomerImport\setBillingAddresses
setBillingAddresses(?array $billingAddresses)
Commercetools\Import\Models\Customers\CustomerImport\FIELD_COMPANY_NAME
const FIELD_COMPANY_NAME
Definition:
CustomerImport.php:32
Commercetools\Import\Models\Customers\CustomerImport\FIELD_LOCALE
const FIELD_LOCALE
Definition:
CustomerImport.php:41
Commercetools\Import\Models\Customers\CustomerImport\setAuthenticationMode
setAuthenticationMode(?string $authenticationMode)
Commercetools\Import\Models\Customers\CustomerImport\FIELD_BILLING_ADDRESSES
const FIELD_BILLING_ADDRESSES
Definition:
CustomerImport.php:38
Commercetools\Import\Models\Customers\CustomerImport\FIELD_EXTERNAL_ID
const FIELD_EXTERNAL_ID
Definition:
CustomerImport.php:30
Commercetools\Import\Models\Customers\CustomerImport\setPassword
setPassword(?string $password)
Commercetools\Import\Models\Customers\CustomerImport\getDateOfBirth
getDateOfBirth()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_MIDDLE_NAME
const FIELD_MIDDLE_NAME
Definition:
CustomerImport.php:27
Commercetools\Import\Models\Customers\CustomerImport\FIELD_EMAIL
const FIELD_EMAIL
Definition:
CustomerImport.php:22
Commercetools\Import\Models\Customers\CustomerImport\getShippingAddresses
getShippingAddresses()
Commercetools\Import\Models\Customers\CustomerImport\getSalutation
getSalutation()
Commercetools\Import\Models\Customers\CustomerImport\getFirstName
getFirstName()
Commercetools\Import\Models\Customers\CustomerImport\setCustomerGroup
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
Commercetools\Import\Models\Customers\CustomerImport\setStores
setStores(?StoreKeyReferenceCollection $stores)
Commercetools\Import\Models\Customers\CustomerImport\FIELD_PASSWORD
const FIELD_PASSWORD
Definition:
CustomerImport.php:23
Commercetools\Import\Models\Customers\CustomerImport\getLocale
getLocale()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_SHIPPING_ADDRESSES
const FIELD_SHIPPING_ADDRESSES
Definition:
CustomerImport.php:40
Commercetools\Import\Models\Customers\CustomerImport\getExternalId
getExternalId()
Commercetools\Import\Models\Customers\CustomerImport\getCustomerGroup
getCustomerGroup()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_DATE_OF_BIRTH
const FIELD_DATE_OF_BIRTH
Definition:
CustomerImport.php:31
Commercetools\Import\Models\Customers\CustomerImport\setShippingAddresses
setShippingAddresses(?array $shippingAddresses)
Commercetools\Import\Models\Customers\CustomerImport\setDateOfBirth
setDateOfBirth(?DateTimeImmutable $dateOfBirth)
Commercetools\Import\Models\Customers\CustomerImport\getAddresses
getAddresses()
Commercetools\Import\Models\Customers\CustomerImport\setEmail
setEmail(?string $email)
Commercetools\Import\Models\Customers\CustomerImport\getIsEmailVerified
getIsEmailVerified()
Commercetools\Import\Models\Customers\CustomerImport\setMiddleName
setMiddleName(?string $middleName)
Commercetools\Import\Models\Customers\CustomerImport\getLastName
getLastName()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_STORES
const FIELD_STORES
Definition:
CustomerImport.php:24
Commercetools\Import\Models\Customers\CustomerImport\setExternalId
setExternalId(?string $externalId)
Commercetools\Import\Models\Customers\CustomerImport\setDefaultShippingAddress
setDefaultShippingAddress(?int $defaultShippingAddress)
Commercetools\Import\Models\Customers\CustomerImport\setLocale
setLocale(?string $locale)
Commercetools\Import\Models\Customers\CustomerImport\setCustomerNumber
setCustomerNumber(?string $customerNumber)
Commercetools\Import\Models\Customers\CustomerImport\getCustom
getCustom()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
CustomerImport.php:42
Commercetools\Import\Models\Customers\CustomerImport\setTitle
setTitle(?string $title)
Commercetools\Import\Models\Customers\CustomerImport\FIELD_FIRST_NAME
const FIELD_FIRST_NAME
Definition:
CustomerImport.php:25
Commercetools\Import\Models\Customers\CustomerImport\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
CustomerImport.php:35
Commercetools\Import\Models\Customers\CustomerImport\FIELD_CUSTOMER_NUMBER
const FIELD_CUSTOMER_NUMBER
Definition:
CustomerImport.php:21
Commercetools\Import\Models\Customers\CustomerImport\getStores
getStores()
Commercetools\Import\Models\Customers\CustomerImport\getMiddleName
getMiddleName()
Commercetools\Import\Models\Customers\CustomerImport\setIsEmailVerified
setIsEmailVerified(?bool $isEmailVerified)
Commercetools\Import\Models\Customers\CustomerImport\getVatId
getVatId()
Commercetools\Import\Models\Customers\CustomerImport\setFirstName
setFirstName(?string $firstName)
Commercetools\Import\Models\Customers\CustomerImport\getDefaultShippingAddress
getDefaultShippingAddress()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_IS_EMAIL_VERIFIED
const FIELD_IS_EMAIL_VERIFIED
Definition:
CustomerImport.php:34
Commercetools\Import\Models\Customers\CustomerImport\getTitle
getTitle()
Commercetools\Import\Models\Customers\CustomerImport\setDefaultBillingAddress
setDefaultBillingAddress(?int $defaultBillingAddress)
Commercetools\Import\Models\Customers\CustomerImport\getBillingAddresses
getBillingAddresses()
Commercetools\Import\Models\Customers\CustomerImport\setAddresses
setAddresses(?CustomerAddressCollection $addresses)
Commercetools\Import\Models\Customers\CustomerImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Customers\CustomerImport\getCustomerNumber
getCustomerNumber()
Commercetools\Import\Models\Customers\CustomerImport\getDefaultBillingAddress
getDefaultBillingAddress()
Commercetools\Import\Models\Customers\CustomerImport\setVatId
setVatId(?string $vatId)
Commercetools\Import\Models\Customers\CustomerImport\getAuthenticationMode
getAuthenticationMode()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_ADDRESSES
const FIELD_ADDRESSES
Definition:
CustomerImport.php:36
Commercetools\Import\Models\Customers\CustomerImport\FIELD_AUTHENTICATION_MODE
const FIELD_AUTHENTICATION_MODE
Definition:
CustomerImport.php:43
Commercetools\Import\Models\Customers\CustomerImport\FIELD_VAT_ID
const FIELD_VAT_ID
Definition:
CustomerImport.php:33
Commercetools\Import\Models\Customers\CustomerImport\FIELD_SALUTATION
const FIELD_SALUTATION
Definition:
CustomerImport.php:29
Commercetools\Import\Models\Customers\CustomerImport\FIELD_TITLE
const FIELD_TITLE
Definition:
CustomerImport.php:28
Commercetools\Import\Models\Customers\CustomerImport\setSalutation
setSalutation(?string $salutation)
Commercetools\Import\Models\Customers\CustomerImport\getCompanyName
getCompanyName()
Commercetools\Import\Models\Customers\CustomerImport\FIELD_DEFAULT_SHIPPING_ADDRESS
const FIELD_DEFAULT_SHIPPING_ADDRESS
Definition:
CustomerImport.php:39
Commercetools\Import\Models\Customers\CustomerImport\getPassword
getPassword()
Commercetools\Import\Models\Customers\CustomerImport\getKey
getKey()
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Customers
Definition:
CustomerAddress.php:9
Generated by
1.9.1