class ApiCall

Constants

API_VERSION

Version of API used

Properties

protected string $command
protected array $parameters
protected mixed $response
protected string $queryString
protected RequestAgent $agent
protected Credentials $credentials

Methods

__construct(string $command, array $parameters, Credentials $credentials)

No description

execute()

No description

string
getCommand()

No description

array
getParameters()

No description

mixed
getResponse()

No description

getCredentials()

No description

string
getQueryString()

Set-up post request and generate query string

string
generateQuerySignature()

Calculate the HMAC signature off the POST data

getAgent()

No description

setAgent(RequestAgent $agent)

No description

Details

at line 45
__construct(string $command, array $parameters, Credentials $credentials)

Parameters

string $command
array $parameters
Credentials $credentials

at line 55
execute()

Exceptions

RequestException

at line 66
string getCommand()

Return Value

string

at line 74
array getParameters()

Return Value

array

at line 82
mixed getResponse()

Return Value

mixed

at line 90
Credentials getCredentials()

Return Value

Credentials

at line 99
string getQueryString()

Set-up post request and generate query string

Return Value

string

at line 115
string generateQuerySignature()

Calculate the HMAC signature off the POST data

Return Value

string

at line 127
RequestAgent getAgent()

Return Value

RequestAgent

at line 135
setAgent(RequestAgent $agent)

Parameters

RequestAgent $agent