public class GiftActivateResponse extends Object implements IAbstractAcknowledgement, ICoreResponse
Constructor and Description |
---|
GiftActivateResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getAmount()
Gets the amount of the transaction.
|
String |
getBatchId()
Gets the ID assigned to the batch.
|
String |
getCurrencyCode()
Gets the currency code used for the transaction.
|
String |
getCurrentBalance()
Gets the current balance of the gift card.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getMaskedPan()
Gets the masked card identifier.
|
String |
getPublicKey()
Gets the public key of the activated card.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
String |
getSig()
Gets the ECC signature of the response.
|
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 |
isApproved()
Gets that the card was activated.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets that the transaction was processed on the test gateway.
|
void |
setAmount(String value)
Sets the amount of the transaction.
|
void |
setApproved(boolean value)
Sets that the card was activated.
|
void |
setBatchId(String value)
Sets the ID assigned to the batch.
|
void |
setCurrencyCode(String value)
Sets the currency code used for the transaction.
|
void |
setCurrentBalance(String value)
Sets the current balance of the gift card.
|
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 |
setMaskedPan(String value)
Sets the masked card identifier.
|
void |
setPublicKey(String value)
Sets the public key of the activated card.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSig(String value)
Sets the ECC signature of the response.
|
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 IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setTransactionId(String value)
value
- the ID assigned to the transaction.public String getTransactionId()
getTransactionId
in interface ICoreResponse
public void setBatchId(String value)
value
- the ID assigned to the batch.public String getBatchId()
getBatchId
in interface ICoreResponse
public 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 ICoreResponse
public void setTransactionType(String value)
value
- the type of transaction.public String getTransactionType()
getTransactionType
in interface ICoreResponse
public void setTimestamp(String value)
value
- the timestamp of the transaction.public String getTimestamp()
getTimestamp
in interface ICoreResponse
public void setTickBlock(String value)
value
- the hash of the last tick block.public String getTickBlock()
getTickBlock
in interface ICoreResponse
public void setTest(boolean value)
value
- that the transaction was processed on the test gateway.public boolean isTest()
isTest
in interface ICoreResponse
public void setDestinationAccount(String value)
value
- the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount
in interface ICoreResponse
public 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 ICoreResponse
public void setApproved(boolean value)
value
- that the card was activated.public boolean isApproved()
public void setAmount(String value)
value
- the amount of the transaction.public String getAmount()
public void setCurrentBalance(String value)
value
- the current balance of the gift card.public String getCurrentBalance()
public void setCurrencyCode(String value)
value
- the currency code used for the transaction.public String getCurrencyCode()
public void setPublicKey(String value)
value
- the public key of the activated card.public String getPublicKey()
public void setMaskedPan(String value)
value
- the masked card identifier.public String getMaskedPan()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.