commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
Customer
CustomerToken.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Customer
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use DateTimeImmutable;
14
15
interface
CustomerToken
extends
JsonObject
16
{
17
public
const
FIELD_ID
=
'id'
;
18
public
const
FIELD_CUSTOMER_ID
=
'customerId'
;
19
public
const
FIELD_VALUE
=
'value'
;
20
public
const
FIELD_EXPIRES_AT
=
'expiresAt'
;
21
public
const
FIELD_INVALIDATE_OLDER_TOKENS
=
'invalidateOlderTokens'
;
22
public
const
FIELD_CREATED_AT
=
'createdAt'
;
23
public
const
FIELD_LAST_MODIFIED_AT
=
'lastModifiedAt'
;
24
31
public
function
getId
();
32
39
public
function
getCustomerId
();
40
47
public
function
getValue
();
48
55
public
function
getExpiresAt
();
56
63
public
function
getInvalidateOlderTokens
();
64
71
public
function
getCreatedAt
();
72
79
public
function
getLastModifiedAt
();
80
84
public
function
setId
(?
string
$id): void;
85
89
public
function
setCustomerId
(?
string
$customerId): void;
90
94
public
function
setValue
(?
string
$value): void;
95
99
public
function
setExpiresAt
(?DateTimeImmutable $expiresAt): void;
100
104
public
function
setInvalidateOlderTokens
(?
bool
$invalidateOlderTokens): void;
105
109
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
110
114
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
115
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Customer\CustomerToken
Definition
CustomerToken.php:16
Commercetools\Api\Models\Customer\CustomerToken\setInvalidateOlderTokens
setInvalidateOlderTokens(?bool $invalidateOlderTokens)
Commercetools\Api\Models\Customer\CustomerToken\FIELD_INVALIDATE_OLDER_TOKENS
const FIELD_INVALIDATE_OLDER_TOKENS
Definition
CustomerToken.php:21
Commercetools\Api\Models\Customer\CustomerToken\getExpiresAt
getExpiresAt()
Commercetools\Api\Models\Customer\CustomerToken\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Customer\CustomerToken\FIELD_VALUE
const FIELD_VALUE
Definition
CustomerToken.php:19
Commercetools\Api\Models\Customer\CustomerToken\FIELD_EXPIRES_AT
const FIELD_EXPIRES_AT
Definition
CustomerToken.php:20
Commercetools\Api\Models\Customer\CustomerToken\getInvalidateOlderTokens
getInvalidateOlderTokens()
Commercetools\Api\Models\Customer\CustomerToken\setExpiresAt
setExpiresAt(?DateTimeImmutable $expiresAt)
Commercetools\Api\Models\Customer\CustomerToken\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Customer\CustomerToken\getValue
getValue()
Commercetools\Api\Models\Customer\CustomerToken\FIELD_ID
const FIELD_ID
Definition
CustomerToken.php:17
Commercetools\Api\Models\Customer\CustomerToken\FIELD_LAST_MODIFIED_AT
const FIELD_LAST_MODIFIED_AT
Definition
CustomerToken.php:23
Commercetools\Api\Models\Customer\CustomerToken\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition
CustomerToken.php:22
Commercetools\Api\Models\Customer\CustomerToken\setValue
setValue(?string $value)
Commercetools\Api\Models\Customer\CustomerToken\setCustomerId
setCustomerId(?string $customerId)
Commercetools\Api\Models\Customer\CustomerToken\setId
setId(?string $id)
Commercetools\Api\Models\Customer\CustomerToken\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Customer\CustomerToken\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Customer\CustomerToken\getCustomerId
getCustomerId()
Commercetools\Api\Models\Customer\CustomerToken\getId
getId()
Commercetools\Api\Models\Customer\CustomerToken\FIELD_CUSTOMER_ID
const FIELD_CUSTOMER_ID
Definition
CustomerToken.php:18
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Customer
Definition
Customer.php:9
Generated by
1.9.8