commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CustomerSignin.php
1<?php
2
3declare(strict_types=1);
10
14
15interface CustomerSignin extends JsonObject
16{
17 public const FIELD_EMAIL = 'email';
18 public const FIELD_PASSWORD = 'password';
19 public const FIELD_ANONYMOUS_CART_ID = 'anonymousCartId';
20 public const FIELD_ANONYMOUS_CART = 'anonymousCart';
21 public const FIELD_ANONYMOUS_CART_SIGN_IN_MODE = 'anonymousCartSignInMode';
22 public const FIELD_ANONYMOUS_ID = 'anonymousId';
23 public const FIELD_UPDATE_PRODUCT_DATA = 'updateProductData';
24
31 public function getEmail();
32
39 public function getPassword();
40
47 public function getAnonymousCartId();
48
55 public function getAnonymousCart();
56
66 public function getAnonymousCartSignInMode();
67
76 public function getAnonymousId();
77
87 public function getUpdateProductData();
88
92 public function setEmail(?string $email): void;
93
97 public function setPassword(?string $password): void;
98
102 public function setAnonymousCartId(?string $anonymousCartId): void;
103
107 public function setAnonymousCart(?CartResourceIdentifier $anonymousCart): void;
108
112 public function setAnonymousCartSignInMode(?string $anonymousCartSignInMode): void;
113
117 public function setAnonymousId(?string $anonymousId): void;
118
122 public function setUpdateProductData(?bool $updateProductData): void;
123}
setAnonymousCartSignInMode(?string $anonymousCartSignInMode)
setAnonymousCart(?CartResourceIdentifier $anonymousCart)
setUpdateProductData(?bool $updateProductData)