PHP Class Bitpay\Token

Inheritance: implements bitpay\TokenInterface
Mostrar archivo Open project: bitpay/php-client Class Usage Examples

Protected Properties

Property Type Description
$createdAt DateTime
$facade string
$pairingCode string
$pairingExpiration DateTime
$policies array
$resource string
$token string

Public Methods

Method Description
__construct ( )
__toString ( ) : string
getCreatedAt ( ) : DateTime
getFacade ( ) : string
getPairingCode ( ) : string
getPairingExpiration ( ) : DateTime
getPolicies ( ) : array
getResource ( ) : string
getToken ( ) : string
setCreatedAt ( DateTime $createdAt )
setFacade ( $facade )
setPairingCode ( $pairingCode )
setPairingExpiration ( DateTime $pairingExpiration )
setPolicies ( $policies )
setResource ( $resource )
setToken ( $token )

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( ) : string
return string

getCreatedAt() public method

public getCreatedAt ( ) : DateTime
return DateTime

getFacade() public method

public getFacade ( ) : string
return string

getPairingCode() public method

public getPairingCode ( ) : string
return string

getPairingExpiration() public method

public getPairingExpiration ( ) : DateTime
return DateTime

getPolicies() public method

public getPolicies ( ) : array
return array

getResource() public method

public getResource ( ) : string
return string

getToken() public method

public getToken ( ) : string
return string

setCreatedAt() public method

public setCreatedAt ( DateTime $createdAt )
$createdAt DateTime

setFacade() public method

public setFacade ( $facade )

setPairingCode() public method

public setPairingCode ( $pairingCode )

setPairingExpiration() public method

public setPairingExpiration ( DateTime $pairingExpiration )
$pairingExpiration DateTime

setPolicies() public method

public setPolicies ( $policies )

setResource() public method

public setResource ( $resource )

setToken() public method

public setToken ( $token )

Property Details

$createdAt protected_oe property

protected DateTime $createdAt
return DateTime

$facade protected_oe property

protected string $facade
return string

$pairingCode protected_oe property

protected string $pairingCode
return string

$pairingExpiration protected_oe property

protected DateTime $pairingExpiration
return DateTime

$policies protected_oe property

protected array $policies
return array

$resource protected_oe property

protected string $resource
return string

$token protected_oe property

protected string $token
return string