Package paypal.payflow
Class BankAcct
java.lang.Object
paypal.payflow.BankAcct
Used for BankAcct information.
BankAcct is associated with ACHTender.
ACHTender-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGenerates the transaction request.getAba()Gets the aba value.getAcct()gets the Account holder's account number.Gets the Customer's bank account type.protected ContextgetMagTek(MagTekInfo mT) getName()gets the account holder's name.protected StringBufferGets the Requestbuffer used for creating the actual request string.voidsetAcctType(String acctType) Sets the Customer's bank account type.protected voidsetContext(Context context) voidgets the MagTek Encrypted Swipe Data.voidgets the account holder's name.protected voidsetRequestBuffer(StringBuffer value) sets the StringBuffer to hold the request string.
-
Constructor Details
-
BankAcct
Constructor- Parameters:
acct- Bank Account numberaba- Aba number BankAcct should be used to perform the transactions in which the user provides his bank account details for the online payment processing. *//Create the BankAcct object BankAcct account = new BankAcct("XXXXXXXXXXX","XXXXXXXXXXX");
-
-
Method Details
-
generateRequest
protected void generateRequest()Generates the transaction request. -
getAba
Gets the aba value. Target Bank's transit ABA routing number.Appies only to ACH transactions.(8-digit number)- Returns:
- String
*
Maps to Payflow Parameters as follows: ABA
-
getAcctType
Gets the Customer's bank account type.- Returns:
- String Allowed AcctType values are: ACCTTYPE - Description C - Checking account S - Savings account Maps to Payflow Parameters as follows: ACCTTYPE
-
setAcctType
Sets the Customer's bank account type.- Parameters:
acctType- *Allowed AcctType values are: ACCTTYPE - Description C - Checking account S - Savings account Maps to Payflow Parameters as follows: ACCTTYPE
-
getAcct
gets the Account holder's account number.- Returns:
- String Maps to Payflow Parameters as follows: ACCT - Transactions with CreditCard, PurchaseCard, BankAcct payment devices MICR - Transactions with CheckPayment SWIPE - Transactions with SwipeCard
-
getName
gets the account holder's name.- Returns:
- String
*
Maps to Payflow Parameters as follows: NAME
-
setName
gets the account holder's name.- Parameters:
name- *Maps to Payflow Parameters as follows: NAME
-
getMagTek
-
setMagtek
gets the MagTek Encrypted Swipe Data.- Parameters:
magtek- Magtek Encrypted Swipe Data
-
getContext
-
setContext
-
getRequestBuffer
Gets the Requestbuffer used for creating the actual request string.- Returns:
- mRequestBuffer StringBuffer
-
setRequestBuffer
sets the StringBuffer to hold the request string.- Parameters:
value- StringBuffer
-