Package paypal.payflow
Class CheckPayment
java.lang.Object
paypal.payflow.CheckPayment
Used for Check Payment related information.
CheckPayment is associated with CheckTender.
CheckTender-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGenerates the transaction request.getAcct()gets the Account holder's account number.protected ContextgetMagTek(MagTekInfo mT) getName()gets the account holder's name.protected StringBufferGets the Requestbuffer used for creating the actual request string.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
-
CheckPayment
Constructor- Parameters:
micr- MICR Value This is used as Payment Device for the CheckTender. *Maps to Payflow Parameter: MICR //Create the CheckPayment object CheckPayment payDevice = new CheckPayment("XXXXXXXXXX");
-
-
Method Details
-
generateRequest
protected void generateRequest()Generates the transaction request. -
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
-