commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
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_CREATED_AT
=
'createdAt'
;
22
public
const
FIELD_LAST_MODIFIED_AT
=
'lastModifiedAt'
;
23
30
public
function
getId
();
31
38
public
function
getCustomerId
();
39
46
public
function
getValue
();
47
54
public
function
getExpiresAt
();
55
62
public
function
getCreatedAt
();
63
70
public
function
getLastModifiedAt
();
71
75
public
function
setId
(?
string
$id): void;
76
80
public
function
setCustomerId
(?
string
$customerId): void;
81
85
public
function
setValue
(?
string
$value): void;
86
90
public
function
setExpiresAt
(?DateTimeImmutable $expiresAt): void;
91
95
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
96
100
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
101
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Customer\CustomerToken
Definition:
CustomerToken.php:16
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\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:22
Commercetools\Api\Models\Customer\CustomerToken\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition:
CustomerToken.php:21
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.1