commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Variables
$
a
d
e
f
g
o
r
s
t
u
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
lib
commercetools-base
src
Client
TokenModel.php
1
<?php
2
3
declare(strict_types=1);
10
namespace
Commercetools\Client
;
11
15
class
TokenModel
implements
Token
16
{
21
private
$value;
22
27
private
$expiresIn;
28
29
public
function
__construct
(
string
$value, ?
int
$expiresIn =
null
)
30
{
31
$this->value = $value;
32
$this->expiresIn = $expiresIn ?? 0;
33
}
29
public
function
__construct
(
string
$value, ?
int
$expiresIn =
null
) {
…
}
34
35
public
function
getValue
(): string
36
{
37
return
$this->value;
38
}
35
public
function
getValue
(): string {
…
}
39
40
public
function
getExpiresIn
(): int
41
{
42
return
$this->expiresIn;
43
}
40
public
function
getExpiresIn
(): int {
…
}
44
}
15
class
TokenModel
implements
Token
{
…
};
Commercetools\Client\TokenModel
Definition
TokenModel.php:16
Commercetools\Client\TokenModel\getValue
getValue()
Definition
TokenModel.php:35
Commercetools\Client\TokenModel\__construct
__construct(string $value, ?int $expiresIn=null)
Definition
TokenModel.php:29
Commercetools\Client\TokenModel\getExpiresIn
getExpiresIn()
Definition
TokenModel.php:40
Commercetools\Client\Token
Definition
Token.php:16
Commercetools\Client
Definition
AnonymousFlowTokenProvider.php:5
Generated by
1.9.8