commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Public Member Functions | List of all members
Commercetools\Client\TokenModel Class Reference
Inheritance diagram for Commercetools\Client\TokenModel:
Commercetools\Client\Token

Public Member Functions

 __construct (string $value, int $expiresIn=null)
 
 getValue ()
 
 getExpiresIn ()
 

Detailed Description

@psalm-immutable

Definition at line 15 of file TokenModel.php.

Constructor & Destructor Documentation

◆ __construct()

Commercetools\Client\TokenModel::__construct ( string  $value,
int  $expiresIn = null 
)

Definition at line 29 of file TokenModel.php.

Member Function Documentation

◆ getExpiresIn()

Commercetools\Client\TokenModel::getExpiresIn ( )

Implements Commercetools\Client\Token.

Definition at line 40 of file TokenModel.php.

◆ getValue()

Commercetools\Client\TokenModel::getValue ( )

Implements Commercetools\Client\Token.

Definition at line 35 of file TokenModel.php.


The documentation for this class was generated from the following file: