StatusCommandResponseData
in package
implements
ResponseDataContract
Uses
ResponseDataTrait, ReferenceJsonResponseAttributeTrait, DatetimeJsonResponseAttributeTrait, TypeJsonResponseAttributeTrait, TokenJsonResponseAttributeTrait, PanJsonResponseAttributeTrait, ExpiryJsonResponseAttributeTrait, AmountJsonResponseAttributeTrait, CurrencyJsonResponseAttributeTrait, BillerJsonResponseAttributeTrait, SystemJsonResponseAttributeTrait, IssuerJsonResponseAttributeTrait, RrnJsonResponseAttributeTrait, ApprovalJsonResponseAttributeTrait, ThreeDSJsonResponseAttributeTrait, StatusJsonResponseAttributeTrait, CodeJsonResponseAttributeTrait, MessageJsonResponseAttributeTrait, ExtraJsonResponseAttributeTrait
Class StatusCommandResponseData
Response data for the "status" command.
Table of Contents
Interfaces
- ResponseDataContract
- ResponseDataContract interface.
Properties
- $response : object
- The response object.
Methods
- get3ds() : string
- Get the "3ds" attribute from the JSON response.
- getAmount() : int
- Get the amount from the JSON response.
- getApproval() : string
- Get the approval attribute from the JSON response.
- getBiller() : string
- Get the biller attribute from the JSON response.
- getCode() : int
- Get the code from the JSON response.
- getCurrency() : string
- Get the currency attribute from the JSON response.
- getDatetime() : string
- Get the datetime value from the JSON response.
- getExpiry() : string
- Get the expiry attribute from the JSON response.
- getExtra() : string
- Get the value of the "extra" attribute from the JSON response.
- getIssuer() : string
- Get the issuer attribute from the JSON response.
- getMessage() : string
- Get the message from the JSON response.
- getPan() : string
- Get the PAN from the JSON response.
- getReference() : string
- Get the reference value from the JSON response.
- getRrn() : string
- Get the RRN (Retrieval Reference Number) from the JSON response.
- getStatus() : string
- Get the status attribute from the JSON response.
- getSystem() : string
- Get the system attribute from the JSON response object.
- getToken() : string
- Get the value of the "token" attribute from the response object.
- getType() : string
- Get the value of the "type" attribute from the response object.
- handle() : self
- Handle the JSON response object.
Properties
$response read-only
The response object.
private
object
$response
Methods
get3ds()
Get the "3ds" attribute from the JSON response.
public
get3ds() : string
Return values
string —The value of the "3ds" attribute.
getAmount()
Get the amount from the JSON response.
public
getAmount() : int
Return values
int —The amount value.
getApproval()
Get the approval attribute from the JSON response.
public
getApproval() : string
Return values
string —The approval attribute value.
getBiller()
Get the biller attribute from the JSON response.
public
getBiller() : string
Return values
string —The biller attribute value.
getCode()
Get the code from the JSON response.
public
getCode() : int
Return values
int —The code.
getCurrency()
Get the currency attribute from the JSON response.
public
getCurrency() : string
Return values
string —The currency value.
getDatetime()
Get the datetime value from the JSON response.
public
getDatetime() : string
Return values
string —The datetime value.
getExpiry()
Get the expiry attribute from the JSON response.
public
getExpiry() : string
Return values
string —The expiry attribute.
getExtra()
Get the value of the "extra" attribute from the JSON response.
public
getExtra() : string
Return values
string —The value of the "extra" attribute.
getIssuer()
Get the issuer attribute from the JSON response.
public
getIssuer() : string
Return values
string —The issuer attribute value.
getMessage()
Get the message from the JSON response.
public
getMessage() : string
Return values
string —The message.
getPan()
Get the PAN from the JSON response.
public
getPan() : string
Return values
string —The PAN extracted from the JSON response.
getReference()
Get the reference value from the JSON response.
public
getReference() : string
Return values
string —The reference value.
getRrn()
Get the RRN (Retrieval Reference Number) from the JSON response.
public
getRrn() : string
Return values
string —The RRN.
getStatus()
Get the status attribute from the JSON response.
public
getStatus() : string
Return values
string —The value of the status attribute.
getSystem()
Get the system attribute from the JSON response object.
public
getSystem() : string
Return values
string —The value of the system attribute.
getToken()
Get the value of the "token" attribute from the response object.
public
getToken() : string
Return values
string —The value of the "token" attribute.
getType()
Get the value of the "type" attribute from the response object.
public
getType() : string
Return values
string —The value of the "type" attribute.
handle()
Handle the JSON response object.
public
handle(object $response) : self
Parameters
- $response : object
-
The JSON response object.
Return values
self —The instance of the class.