commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
MyCustomerDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
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 }
setDefaultShippingAddress(?int $defaultShippingAddress)
setCustom(?CustomFieldsDraft $custom)
setAddresses(?BaseAddressCollection $addresses)
setStores(?StoreResourceIdentifierCollection $stores)
setDefaultBillingAddress(?int $defaultBillingAddress)
setDateOfBirth(?DateTimeImmutable $dateOfBirth)