\Threema\MsgApi\Commands\ResultsCreditsResult

Summary

Methods
Properties
Constants
__construct()
isSuccess()
getErrorCode()
getErrorMessage()
getRawResponse()
getCredits()
No public properties found
No constants found
getErrorMessageByErrorCode()
processResponse()
No protected properties found
N/A
No private methods found
$httpCode
$response
$credits
N/A

Properties

$httpCode

$httpCode : integer

Type

integer

$response

$response : string

Type

string

$credits

$credits : integer

Type

integer

Methods

__construct()

__construct(integer  $httpCode,   $response) 

Parameters

integer $httpCode
$response

isSuccess()

isSuccess() 

getErrorCode()

getErrorCode() : null|integer

Returns

null|integer

getErrorMessage()

getErrorMessage() : string

Returns

string

getRawResponse()

getRawResponse() : string

Returns

string

getCredits()

getCredits() : integer

Returns

integer

getErrorMessageByErrorCode()

getErrorMessageByErrorCode(integer  $httpCode) : string

Parameters

integer $httpCode

Returns

string

processResponse()

processResponse(string  $response) 

Parameters

string $response