public class TermsAndConditionsResponse extends Object implements IAbstractAcknowledgement, ICoreResponse, ISignatureResponse
| Constructor and Description |
|---|
TermsAndConditionsResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchId()
Gets the ID assigned to the batch.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
String |
getSig()
Gets the ECC signature of the response.
|
String |
getSigFile()
Gets the hex encoded signature data.
|
String |
getTickBlock()
Gets the hash of the last tick block.
|
String |
getTimestamp()
Gets the timestamp of the transaction.
|
String |
getTransactionId()
Gets the ID assigned to the transaction.
|
String |
getTransactionRef()
Gets the transaction reference string assigned to the transaction request.
|
String |
getTransactionType()
Gets the type of transaction.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets that the transaction was processed on the test gateway.
|
void |
setBatchId(String value)
Sets the ID assigned to the batch.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSig(String value)
Sets the ECC signature of the response.
|
void |
setSigFile(String value)
Sets the hex encoded signature data.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTest(boolean value)
Sets that the transaction was processed on the test gateway.
|
void |
setTickBlock(String value)
Sets the hash of the last tick block.
|
void |
setTimestamp(String value)
Sets the timestamp of the transaction.
|
void |
setTransactionId(String value)
Sets the ID assigned to the transaction.
|
void |
setTransactionRef(String value)
Sets the transaction reference string assigned to the transaction request.
|
void |
setTransactionType(String value)
Sets the type of transaction.
|
public void setSuccess(boolean value)
value - whether or not the request succeeded.public boolean isSuccess()
isSuccess in interface IAbstractAcknowledgementpublic void setError(String value)
value - the error, if an error occurred.public String getError()
getError in interface IAbstractAcknowledgementpublic void setResponseDescription(String value)
value - a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription in interface IAbstractAcknowledgementpublic void setTransactionId(String value)
value - the ID assigned to the transaction.public String getTransactionId()
getTransactionId in interface ICoreResponsepublic void setBatchId(String value)
value - the ID assigned to the batch.public String getBatchId()
getBatchId in interface ICoreResponsepublic void setTransactionRef(String value)
value - the transaction reference string assigned to the transaction
request. If no transaction ref was assiged on the request, then the gateway will
randomly generate one.public String getTransactionRef()
getTransactionRef in interface ICoreResponsepublic void setTransactionType(String value)
value - the type of transaction.public String getTransactionType()
getTransactionType in interface ICoreResponsepublic void setTimestamp(String value)
value - the timestamp of the transaction.public String getTimestamp()
getTimestamp in interface ICoreResponsepublic void setTickBlock(String value)
value - the hash of the last tick block.public String getTickBlock()
getTickBlock in interface ICoreResponsepublic void setTest(boolean value)
value - that the transaction was processed on the test gateway.public boolean isTest()
isTest in interface ICoreResponsepublic void setDestinationAccount(String value)
value - the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount in interface ICoreResponsepublic void setSig(String value)
value - the ECC signature of the response. Can be used to ensure that it was
signed by the terminal and detect man-in-the middle attacks.public String getSig()
getSig in interface ICoreResponsepublic void setSigFile(String value)
value - the hex encoded signature data.public String getSigFile()
getSigFile in interface ISignatureResponseCopyright © 2021 BlockChyp, Inc.. All rights reserved.