commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CustomerDraft.php
1<?php
2
3declare(strict_types=1);
10
18use DateTimeImmutable;
19
20interface CustomerDraft extends JsonObject
21{
22 public const FIELD_KEY = 'key';
23 public const FIELD_CUSTOMER_NUMBER = 'customerNumber';
24 public const FIELD_EXTERNAL_ID = 'externalId';
25 public const FIELD_EMAIL = 'email';
26 public const FIELD_PASSWORD = 'password';
27 public const FIELD_FIRST_NAME = 'firstName';
28 public const FIELD_LAST_NAME = 'lastName';
29 public const FIELD_MIDDLE_NAME = 'middleName';
30 public const FIELD_TITLE = 'title';
31 public const FIELD_ANONYMOUS_CART_ID = 'anonymousCartId';
32 public const FIELD_ANONYMOUS_CART = 'anonymousCart';
33 public const FIELD_ANONYMOUS_ID = 'anonymousId';
34 public const FIELD_DATE_OF_BIRTH = 'dateOfBirth';
35 public const FIELD_COMPANY_NAME = 'companyName';
36 public const FIELD_VAT_ID = 'vatId';
37 public const FIELD_ADDRESSES = 'addresses';
38 public const FIELD_DEFAULT_SHIPPING_ADDRESS = 'defaultShippingAddress';
39 public const FIELD_SHIPPING_ADDRESSES = 'shippingAddresses';
40 public const FIELD_DEFAULT_BILLING_ADDRESS = 'defaultBillingAddress';
41 public const FIELD_BILLING_ADDRESSES = 'billingAddresses';
42 public const FIELD_IS_EMAIL_VERIFIED = 'isEmailVerified';
43 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
44 public const FIELD_CUSTOM = 'custom';
45 public const FIELD_LOCALE = 'locale';
46 public const FIELD_SALUTATION = 'salutation';
47 public const FIELD_STORES = 'stores';
48 public const FIELD_AUTHENTICATION_MODE = 'authenticationMode';
49
58 public function getKey();
59
68 public function getCustomerNumber();
69
76 public function getExternalId();
77
85 public function getEmail();
86
94 public function getPassword();
95
102 public function getFirstName();
103
110 public function getLastName();
111
118 public function getMiddleName();
119
126 public function getTitle();
127
134 public function getAnonymousCartId();
135
142 public function getAnonymousCart();
143
150 public function getAnonymousId();
151
158 public function getDateOfBirth();
159
166 public function getCompanyName();
167
174 public function getVatId();
175
182 public function getAddresses();
183
191 public function getDefaultShippingAddress();
192
200 public function getShippingAddresses();
201
209 public function getDefaultBillingAddress();
210
218 public function getBillingAddresses();
219
227 public function getIsEmailVerified();
228
235 public function getCustomerGroup();
236
243 public function getCustom();
244
252 public function getLocale();
253
260 public function getSalutation();
261
272 public function getStores();
273
283 public function getAuthenticationMode();
284
288 public function setKey(?string $key): void;
289
293 public function setCustomerNumber(?string $customerNumber): void;
294
298 public function setExternalId(?string $externalId): void;
299
303 public function setEmail(?string $email): void;
304
308 public function setPassword(?string $password): void;
309
313 public function setFirstName(?string $firstName): void;
314
318 public function setLastName(?string $lastName): void;
319
323 public function setMiddleName(?string $middleName): void;
324
328 public function setTitle(?string $title): void;
329
333 public function setAnonymousCartId(?string $anonymousCartId): void;
334
338 public function setAnonymousCart(?CartResourceIdentifier $anonymousCart): void;
339
343 public function setAnonymousId(?string $anonymousId): void;
344
348 public function setDateOfBirth(?DateTimeImmutable $dateOfBirth): void;
349
353 public function setCompanyName(?string $companyName): void;
354
358 public function setVatId(?string $vatId): void;
359
363 public function setAddresses(?BaseAddressCollection $addresses): void;
364
368 public function setDefaultShippingAddress(?int $defaultShippingAddress): void;
369
373 public function setShippingAddresses(?array $shippingAddresses): void;
374
378 public function setDefaultBillingAddress(?int $defaultBillingAddress): void;
379
383 public function setBillingAddresses(?array $billingAddresses): void;
384
388 public function setIsEmailVerified(?bool $isEmailVerified): void;
389
393 public function setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup): void;
394
398 public function setCustom(?CustomFieldsDraft $custom): void;
399
403 public function setLocale(?string $locale): void;
404
408 public function setSalutation(?string $salutation): void;
409
413 public function setStores(?StoreResourceIdentifierCollection $stores): void;
414
418 public function setAuthenticationMode(?string $authenticationMode): void;
419}
setShippingAddresses(?array $shippingAddresses)
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)
setAnonymousCart(?CartResourceIdentifier $anonymousCart)
setDateOfBirth(?DateTimeImmutable $dateOfBirth)
setAnonymousCartId(?string $anonymousCartId)
setDefaultShippingAddress(?int $defaultShippingAddress)
setStores(?StoreResourceIdentifierCollection $stores)
setBillingAddresses(?array $billingAddresses)
setAuthenticationMode(?string $authenticationMode)
setAddresses(?BaseAddressCollection $addresses)
setDefaultBillingAddress(?int $defaultBillingAddress)