commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Customer
CustomerSignin.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Customer
;
10
11
use
Commercetools\Api\Models\Cart\CartResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartResourceIdentifier
Definition:
CartResourceIdentifier.php:16
Commercetools\Api\Models\Customer\CustomerSignin
Definition:
CustomerSignin.php:16
Commercetools\Api\Models\Customer\CustomerSignin\setPassword
setPassword(?string $password)
Commercetools\Api\Models\Customer\CustomerSignin\setEmail
setEmail(?string $email)
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_ANONYMOUS_CART
const FIELD_ANONYMOUS_CART
Definition:
CustomerSignin.php:20
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_PASSWORD
const FIELD_PASSWORD
Definition:
CustomerSignin.php:18
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_ANONYMOUS_CART_SIGN_IN_MODE
const FIELD_ANONYMOUS_CART_SIGN_IN_MODE
Definition:
CustomerSignin.php:21
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_ANONYMOUS_ID
const FIELD_ANONYMOUS_ID
Definition:
CustomerSignin.php:22
Commercetools\Api\Models\Customer\CustomerSignin\setAnonymousId
setAnonymousId(?string $anonymousId)
Commercetools\Api\Models\Customer\CustomerSignin\setAnonymousCartSignInMode
setAnonymousCartSignInMode(?string $anonymousCartSignInMode)
Commercetools\Api\Models\Customer\CustomerSignin\getAnonymousCartSignInMode
getAnonymousCartSignInMode()
Commercetools\Api\Models\Customer\CustomerSignin\getAnonymousCart
getAnonymousCart()
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_UPDATE_PRODUCT_DATA
const FIELD_UPDATE_PRODUCT_DATA
Definition:
CustomerSignin.php:23
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_EMAIL
const FIELD_EMAIL
Definition:
CustomerSignin.php:17
Commercetools\Api\Models\Customer\CustomerSignin\setAnonymousCartId
setAnonymousCartId(?string $anonymousCartId)
Commercetools\Api\Models\Customer\CustomerSignin\FIELD_ANONYMOUS_CART_ID
const FIELD_ANONYMOUS_CART_ID
Definition:
CustomerSignin.php:19
Commercetools\Api\Models\Customer\CustomerSignin\getAnonymousId
getAnonymousId()
Commercetools\Api\Models\Customer\CustomerSignin\getAnonymousCartId
getAnonymousCartId()
Commercetools\Api\Models\Customer\CustomerSignin\getUpdateProductData
getUpdateProductData()
Commercetools\Api\Models\Customer\CustomerSignin\setAnonymousCart
setAnonymousCart(?CartResourceIdentifier $anonymousCart)
Commercetools\Api\Models\Customer\CustomerSignin\getEmail
getEmail()
Commercetools\Api\Models\Customer\CustomerSignin\getPassword
getPassword()
Commercetools\Api\Models\Customer\CustomerSignin\setUpdateProductData
setUpdateProductData(?bool $updateProductData)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Customer
Definition:
Customer.php:9
Generated by
1.9.1