public class BalanceResponse extends Object implements IAbstractAcknowledgement, ICoreResponse, IPaymentMethodResponse
| Constructor and Description |
|---|
BalanceResponse() |
| Modifier and Type | Method and Description |
|---|---|
AvsResponse |
getAvsResponse()
Gets address verification results if address information was submitted.
|
String |
getBatchId()
Gets the ID assigned to the batch.
|
String |
getCardHolder()
Gets the cardholder name.
|
Customer |
getCustomer()
Gets customer data, if any.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getEntryMethod()
Gets the entry method for the transaction (CHIP, MSR, KEYED, etc).
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getExpMonth()
Gets the card expiration month in MM format.
|
String |
getExpYear()
Gets the card expiration year in YY format.
|
String |
getMaskedPan()
Gets the masked primary account number.
|
String |
getPaymentType()
Gets the card brand (VISA, MC, AMEX, etc).
|
String |
getPublicKey()
Gets the BlockChyp public key if the user presented a BlockChyp payment card.
|
ReceiptSuggestions |
getReceiptSuggestions()
Gets suggested receipt fields.
|
String |
getRemainingBalance()
Gets remaining balance on the payment method.
|
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 |
getToken()
Gets the payment token, if the payment was enrolled in the vault.
|
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 |
isScopeAlert()
Gets that the transaction did something that would put the system in PCI scope.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets that the transaction was processed on the test gateway.
|
void |
setAvsResponse(AvsResponse value)
Sets address verification results if address information was submitted.
|
void |
setBatchId(String value)
Sets the ID assigned to the batch.
|
void |
setCardHolder(String value)
Sets the cardholder name.
|
void |
setCustomer(Customer value)
Sets customer data, if any.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setEntryMethod(String value)
Sets the entry method for the transaction (CHIP, MSR, KEYED, etc).
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setExpMonth(String value)
Sets the card expiration month in MM format.
|
void |
setExpYear(String value)
Sets the card expiration year in YY format.
|
void |
setMaskedPan(String value)
Sets the masked primary account number.
|
void |
setPaymentType(String value)
Sets the card brand (VISA, MC, AMEX, etc).
|
void |
setPublicKey(String value)
Sets the BlockChyp public key if the user presented a BlockChyp payment card.
|
void |
setReceiptSuggestions(ReceiptSuggestions value)
Sets suggested receipt fields.
|
void |
setRemainingBalance(String value)
Sets remaining balance on the payment method.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setScopeAlert(boolean value)
Sets that the transaction did something that would put the system in PCI scope.
|
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 |
setToken(String value)
Sets the payment token, if the payment was enrolled in the vault.
|
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 setToken(String value)
value - the payment token, if the payment was enrolled in the vault.public String getToken()
getToken in interface IPaymentMethodResponsepublic void setEntryMethod(String value)
value - the entry method for the transaction (CHIP, MSR, KEYED, etc).public String getEntryMethod()
getEntryMethod in interface IPaymentMethodResponsepublic void setPaymentType(String value)
value - the card brand (VISA, MC, AMEX, etc).public String getPaymentType()
getPaymentType in interface IPaymentMethodResponsepublic void setMaskedPan(String value)
value - the masked primary account number.public String getMaskedPan()
getMaskedPan in interface IPaymentMethodResponsepublic void setPublicKey(String value)
value - the BlockChyp public key if the user presented a BlockChyp payment
card.public String getPublicKey()
getPublicKey in interface IPaymentMethodResponsepublic void setScopeAlert(boolean value)
value - that the transaction did something that would put the system in PCI
scope.public boolean isScopeAlert()
isScopeAlert in interface IPaymentMethodResponsepublic void setCardHolder(String value)
value - the cardholder name.public String getCardHolder()
getCardHolder in interface IPaymentMethodResponsepublic void setExpMonth(String value)
value - the card expiration month in MM format.public String getExpMonth()
getExpMonth in interface IPaymentMethodResponsepublic void setExpYear(String value)
value - the card expiration year in YY format.public String getExpYear()
getExpYear in interface IPaymentMethodResponsepublic void setAvsResponse(AvsResponse value)
value - address verification results if address information was submitted.public AvsResponse getAvsResponse()
getAvsResponse in interface IPaymentMethodResponsepublic void setReceiptSuggestions(ReceiptSuggestions value)
value - suggested receipt fields.public ReceiptSuggestions getReceiptSuggestions()
getReceiptSuggestions in interface IPaymentMethodResponsepublic void setCustomer(Customer value)
value - customer data, if any.public Customer getCustomer()
getCustomer in interface IPaymentMethodResponsepublic void setRemainingBalance(String value)
value - remaining balance on the payment method.public String getRemainingBalance()
Copyright © 2021 BlockChyp, Inc.. All rights reserved.