public class ApprovalResponse extends CoreResponse
| Constructor and Description |
|---|
ApprovalResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthCode()
Returns the auth code from the payment network.
|
String |
getSigFile()
Returns the sig file data if requested.
|
boolean |
isApproved()
Returns the approved flag.
|
void |
setApproved(boolean approved)
Sets the approved flag.
|
void |
setAuthCode(String authCode)
Sets the auth code from the payment network.
|
void |
setSigFile(String sigFile)
Sets the signature file hex.
|
getBatchId, getResponseDescription, getSig, getTickBlock, getTimestamp, getTransactionId, getTransactionRef, getTransactionType, isTest, setBatchId, setResponseDescription, setSig, setTest, setTickBlock, setTimestamp, setTransactionId, setTransactionRef, setTransactionTypepublic boolean isApproved()
public void setApproved(boolean approved)
approved - if true, the transaction was approved.public String getAuthCode()
public void setAuthCode(String authCode)
authCode - network auth code.public String getSigFile()
public void setSigFile(String sigFile)
sigFile - signature file data in hex.Copyright © 2019 BlockChyp, Inc.. All rights reserved.