DirectPaymentCommandResponseData
in package
implements
ResponseDataContract
Uses
ResponseDataTrait, ReferenceJsonResponseAttributeTrait, DatetimeJsonResponseAttributeTrait, TypeJsonResponseAttributeTrait, PanJsonResponseAttributeTrait, AmountJsonResponseAttributeTrait, CurrencyJsonResponseAttributeTrait, BillerJsonResponseAttributeTrait, SystemJsonResponseAttributeTrait, IssuerJsonResponseAttributeTrait, RrnJsonResponseAttributeTrait, ApprovalJsonResponseAttributeTrait, ThreeDSJsonResponseAttributeTrait, StatusJsonResponseAttributeTrait, CodeJsonResponseAttributeTrait, MessageJsonResponseAttributeTrait
Class DirectPaymentCommandResponseData
Response data for the "direct payment" 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.
- 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.
- 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.
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.
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.