commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CustomerImport.php
1<?php
2
3declare(strict_types=1);
10
17use DateTimeImmutable;
18
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}
setAuthenticationMode(?string $authenticationMode)
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
setStores(?StoreKeyReferenceCollection $stores)
setDateOfBirth(?DateTimeImmutable $dateOfBirth)
setDefaultShippingAddress(?int $defaultShippingAddress)
setDefaultBillingAddress(?int $defaultBillingAddress)
setAddresses(?CustomerAddressCollection $addresses)