public class BalanceRequest extends Object implements ICoreRequest, IPaymentMethod, ITerminalReference
| Constructor and Description |
|---|
BalanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the cardholder address for use with address verification.
|
String |
getCardholderName()
Gets the cardholder name.
|
CardType |
getCardType()
Gets designates categories of cards: credit, debit, EBT.
|
String |
getCvv()
Gets the card CVV for use with PAN based transactions.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getExpMonth()
Gets the card expiration month for use with PAN based transactions.
|
String |
getExpYear()
Gets the card expiration year for use with PAN based transactions.
|
String |
getKsn()
Gets the key serial number used for DUKPT encryption.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
String |
getPan()
Gets the primary account number.
|
String |
getPaymentType()
Gets designates brands of payment methods: Visa, Discover, etc.
|
String |
getPinBlock()
Gets the encrypted pin block.
|
String |
getPostalCode()
Gets the cardholder postal code for use with address verification.
|
String |
getRoutingNumber()
Gets the ACH routing number for ACH transactions.
|
String |
getTerminalName()
Gets the name of the target payment terminal.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getToken()
Gets the payment token to be used for this transaction.
|
String |
getTrack1()
Gets track 1 magnetic stripe data.
|
String |
getTrack2()
Gets track 2 magnetic stripe data.
|
String |
getTransactionRef()
Gets a user-assigned reference that can be used to recall or reverse transactions.
|
boolean |
isAsync()
Gets defers the response to the transaction and returns immediately.
|
boolean |
isForce()
Gets override any in-progress transactions.
|
boolean |
isManualEntry()
Gets that the payment entry method is a manual keyed transaction.
|
boolean |
isQueue()
Gets adds the transaction to the queue and returns immediately.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
boolean |
isWaitForRemovedCard()
Gets whether or not the request should block until all cards have been removed from
the card reader.
|
void |
setAddress(String value)
Sets the cardholder address for use with address verification.
|
void |
setAsync(boolean value)
Sets defers the response to the transaction and returns immediately.
|
void |
setCardholderName(String value)
Sets the cardholder name.
|
void |
setCardType(CardType value)
Sets designates categories of cards: credit, debit, EBT.
|
void |
setCvv(String value)
Sets the card CVV for use with PAN based transactions.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setExpMonth(String value)
Sets the card expiration month for use with PAN based transactions.
|
void |
setExpYear(String value)
Sets the card expiration year for use with PAN based transactions.
|
void |
setForce(boolean value)
Sets override any in-progress transactions.
|
void |
setKsn(String value)
Sets the key serial number used for DUKPT encryption.
|
void |
setManualEntry(boolean value)
Sets that the payment entry method is a manual keyed transaction.
|
void |
setOrderRef(String value)
Sets an identifier from an external point of sale system.
|
void |
setPan(String value)
Sets the primary account number.
|
void |
setPaymentType(String value)
Sets designates brands of payment methods: Visa, Discover, etc.
|
void |
setPinBlock(String value)
Sets the encrypted pin block.
|
void |
setPostalCode(String value)
Sets the cardholder postal code for use with address verification.
|
void |
setQueue(boolean value)
Sets adds the transaction to the queue and returns immediately.
|
void |
setRoutingNumber(String value)
Sets the ACH routing number for ACH transactions.
|
void |
setTerminalName(String value)
Sets the name of the target payment terminal.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
void |
setToken(String value)
Sets the payment token to be used for this transaction.
|
void |
setTrack1(String value)
Sets track 1 magnetic stripe data.
|
void |
setTrack2(String value)
Sets track 2 magnetic stripe data.
|
void |
setTransactionRef(String value)
Sets a user-assigned reference that can be used to recall or reverse transactions.
|
void |
setWaitForRemovedCard(boolean value)
Sets whether or not the request should block until all cards have been removed from
the card reader.
|
public void setTransactionRef(String value)
value - a user-assigned reference that can be used to recall or reverse
transactions.public String getTransactionRef()
getTransactionRef in interface ICoreRequestpublic void setAsync(boolean value)
value - defers the response to the transaction and returns immediately.
Callers should retrive the transaction result using the Transaction Status API.public boolean isAsync()
isAsync in interface ICoreRequestpublic void setQueue(boolean value)
value - adds the transaction to the queue and returns immediately. Callers
should retrive the transaction result using the Transaction Status API.public boolean isQueue()
isQueue in interface ICoreRequestpublic void setWaitForRemovedCard(boolean value)
value - whether or not the request should block until all cards have been
removed from the card reader.public boolean isWaitForRemovedCard()
isWaitForRemovedCard in interface ICoreRequestpublic void setForce(boolean value)
value - override any in-progress transactions.public boolean isForce()
isForce in interface ICoreRequestpublic void setOrderRef(String value)
value - an identifier from an external point of sale system.public String getOrderRef()
getOrderRef in interface ICoreRequestpublic void setDestinationAccount(String value)
value - the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount in interface ICoreRequestpublic void setTest(boolean value)
value - whether or not to route transaction to the test gateway.public boolean isTest()
isTest in interface ICoreRequestpublic void setTimeout(int value)
value - the request timeout in seconds.public int getTimeout()
getTimeout in interface ICoreRequestpublic void setToken(String value)
value - the payment token to be used for this transaction. This should be used
for recurring transactions.public String getToken()
getToken in interface IPaymentMethodpublic void setTrack1(String value)
value - track 1 magnetic stripe data.public String getTrack1()
getTrack1 in interface IPaymentMethodpublic void setTrack2(String value)
value - track 2 magnetic stripe data.public String getTrack2()
getTrack2 in interface IPaymentMethodpublic void setPan(String value)
value - the primary account number. We recommend using the terminal or
e-commerce tokenization libraries instead of passing account numbers in
directly, as this would put your application in PCI scope.public String getPan()
getPan in interface IPaymentMethodpublic void setRoutingNumber(String value)
value - the ACH routing number for ACH transactions.public String getRoutingNumber()
getRoutingNumber in interface IPaymentMethodpublic void setCardholderName(String value)
value - the cardholder name. Only required if the request includes a primary
account number or track data.public String getCardholderName()
getCardholderName in interface IPaymentMethodpublic void setExpMonth(String value)
value - the card expiration month for use with PAN based transactions.public String getExpMonth()
getExpMonth in interface IPaymentMethodpublic void setExpYear(String value)
value - the card expiration year for use with PAN based transactions.public String getExpYear()
getExpYear in interface IPaymentMethodpublic void setCvv(String value)
value - the card CVV for use with PAN based transactions.public String getCvv()
getCvv in interface IPaymentMethodpublic void setAddress(String value)
value - the cardholder address for use with address verification.public String getAddress()
getAddress in interface IPaymentMethodpublic void setPostalCode(String value)
value - the cardholder postal code for use with address verification.public String getPostalCode()
getPostalCode in interface IPaymentMethodpublic void setManualEntry(boolean value)
value - that the payment entry method is a manual keyed transaction. If this is
true, no other payment method will be accepted.public boolean isManualEntry()
isManualEntry in interface IPaymentMethodpublic void setKsn(String value)
value - the key serial number used for DUKPT encryption.public String getKsn()
getKsn in interface IPaymentMethodpublic void setPinBlock(String value)
value - the encrypted pin block.public String getPinBlock()
getPinBlock in interface IPaymentMethodpublic void setCardType(CardType value)
value - designates categories of cards: credit, debit, EBT.public CardType getCardType()
getCardType in interface IPaymentMethodpublic void setPaymentType(String value)
value - designates brands of payment methods: Visa, Discover, etc.public String getPaymentType()
getPaymentType in interface IPaymentMethodpublic void setTerminalName(String value)
value - the name of the target payment terminal.public String getTerminalName()
getTerminalName in interface ITerminalReferenceCopyright © 2021 BlockChyp, Inc.. All rights reserved.