Package paypal.payflow
Class CheckTender
java.lang.Object
paypal.payflow.BaseTender
paypal.payflow.CheckTender
Used for Check tender related information.
CheckPayment the Payment devices associated with this tender type.
CheckPayment-
Constructor Summary
ConstructorsConstructorDescriptionCheckTender(CheckPayment check) This constructor is used to create a CheckTender with CheckPayment as the payment device -
Method Summary
Modifier and TypeMethodDescriptionprotected Contextprotected StringBufferGets the Requestbuffer used for creating the actual request string.protected voidsetContext(Context context) protected voidsetRequestBuffer(StringBuffer value) sets the StringBuffer to hold the request string.Methods inherited from class paypal.payflow.BaseTender
generateRequest, getAuthType, getChkNum, getChkType, getDL, getSS, getTender, setAuthType, setChkNum, setChkType, setDL, setSS
-
Constructor Details
-
CheckTender
This constructor is used to create a CheckTender with CheckPayment as the payment device- Parameters:
check- CheckTender Maps to Payflow Parameter: TENDER *............. //check is the populated CheckPaymentobject. ............. *
//Create the Tender object CheckTender tender = new CardTender(check);
-
-
Method Details
-
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
-