public class PaymentRequest extends AmountRequest implements ITerminalReference
| Constructor and Description |
|---|
PaymentRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the address for use with address verification.
|
String |
getCardholderName()
Gets the cardholder name for use with PAN based transaction authorization.
|
String |
getCvv()
Gets the CVV for use with PAN based transaction authorization.
|
String |
getExpMonth()
Gets the card expiration month for use with PAN based transaction authorization.
|
String |
getExpYear()
Gets the card expiration year for use with PAN based transaction authorization.
|
String |
getPan()
Gets the primary account number (PAN).
|
String |
getPostalCode()
Gets the postal code for use with address verification.
|
String |
getRoutingNumber()
Sets the ACH routing number if this is an ACH transaction.
|
String |
getSigFile()
Sets the desired output location of a signature image file, if there is one.
|
String |
getSigFormat()
Gets the preferred output format for signature images.
|
int |
getSigWidth()
Gets the maximum width of the signature image in pixels.
|
String |
getTerminalName()
Sets the target terminal name to which the transaction will be routed.
|
String |
getToken()
Gets the payment token to be used with this transaction.
|
String |
getTrack1()
Gets track 1 data.
|
String |
getTrack2()
Gets track 2 data.
|
boolean |
isManualEntry()
Gets manual entry mode.
|
void |
setAddress(String address)
Sets the address for use with address verification.
|
void |
setCardholderName(String cardholderName)
Sets the cardholder name for use with PAN based transaction authorization.
|
void |
setCvv(String cvv)
Sets the CVV for use with PAN based transaction authorization.
|
void |
setExpMonth(String expMonth)
Sets the card expiration month for use with PAN based transaction authorization.
|
void |
setExpYear(String expYear)
Sets the card expiration year for use with PAN based transaction authorization.
|
void |
setManualEntry(boolean manualEntry)
Sets manual entry mode.
|
void |
setPan(String pan)
Sets the primary account number (PAN).
|
void |
setPostalCode(String postalCode)
Sets the postal code for use with address verification.
|
void |
setRoutingNumber(String routingNumber)
Sets the ACH routing number if this is an ACH transaction.
|
void |
setSigFile(String sigFile)
Sets the desired output location of a signature image file, if there is one.
|
void |
setSigFormat(String sigFormat)
Sets the preferred output format for signature images.
|
void |
setSigWidth(int sigWidth)
Sets the maximum width of the signature image in pixels.
|
void |
setTerminalName(String terminalName)
Sets the target terminal name to which the transaction will be routed.
|
void |
setToken(String token)
Sets the payment token to be used with this transaction.
|
void |
setTrack1(String track1)
Sets track 1 data.
|
void |
setTrack2(String track2)
Sets track 2 data.
|
getAmount, getCurrencyCode, getTaxAmount, getTipAmount, isTaxExempt, setAmount, setCurrencyCode, setTaxAmount, setTaxExempt, setTipAmountgetDestinationAccount, getTimeout, getTransactionRef, isTest, setDestinationAccount, setTest, setTimeout, setTransactionRefpublic String getTerminalName()
getTerminalName in interface ITerminalReferencepublic void setTerminalName(String terminalName)
terminalName - terminal name assigned to the terminal upon activation.public String getToken()
public void setToken(String token)
token - recurring payment token.public String getTrack1()
public void setTrack1(String track1)
track1 - the first track of a payment card's magnetic stripe.public String getTrack2()
public void setTrack2(String track2)
track2 - the second track of a payment card's magnetic stripe.public String getPan()
public void setPan(String pan)
pan - Primary Account Number.public String getRoutingNumber()
public void setRoutingNumber(String routingNumber)
routingNumber - nine digit ACH routing number.public String getCardholderName()
public void setCardholderName(String cardholderName)
cardholderName - cardholder's name.public String getExpMonth()
public void setExpMonth(String expMonth)
expMonth - card expiration month. Leading zeros preferred for january through september.public String getExpYear()
public void setExpYear(String expYear)
expYear - card expiration year. 2 or 4 digit values accepted, but 4 is recommended.public String getCvv()
public void setCvv(String cvv)
cvv - cardholder verification code.public String getAddress()
public void setAddress(String address)
address - cardholder's street address.public String getPostalCode()
public void setPostalCode(String postalCode)
postalCode - cardholder's postal code.public boolean isManualEntry()
public void setManualEntry(boolean manualEntry)
manualEntry - booleanpublic String getSigFormat()
public void setSigFormat(String sigFormat)
sigFormat - signature file format (PNG, JPEG, etc)public int getSigWidth()
public void setSigWidth(int sigWidth)
sigWidth - max width of the image in pixels.public String getSigFile()
public void setSigFile(String sigFile)
sigFile - local file pathCopyright © 2019 BlockChyp, Inc.. All rights reserved.