Class ACHTender
BankAcct-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGenerates the transaction request.Gets the Authtype.protected ContextGets the PreNote.protected StringBufferGets the Requestbuffer used for creating the actual request string.Gets the Term City.Gets the TermState.voidsetAuthType(String authType) Sets the Authtype.protected voidsetContext(Context context) voidsetPreNote(String preNote) Sets the PreNote.protected voidsetRequestBuffer(StringBuffer value) sets the StringBuffer to hold the request string.voidsetTermCity(String termCity) Gets the Term City.voidsetTermState(String termState) Gets the TermState.Methods inherited from class paypal.payflow.BaseTender
getAuthType, getChkNum, getChkType, getDL, getSS, getTender, setChkNum, setChkType, setDL, setSS
-
Constructor Details
-
ACHTender
ACHTender should be used to perform the transactions in which the user provides his bank account details for the online payment processing.- Parameters:
bankAccount- String Maps to Payflow Parameter: TENDER *............. //bnkAcct is the populated BankAcct object. ............. *
//Create the Tender object ACHTender tender = new ACHTender(bnkAcct);
-
-
Method Details
-
getAuthType
Gets the Authtype. *The type of authorization received from the payer. Allowed Auth Types are: AUTHTYPE - Description CCD - Default for B2B format accounts PPD - Standard customer authorization method) for B2C format accounts. ARC - Accounts Receivables check entry for a single entry debit. RCK - Re-presented check entry for a single entry debit. WEB - The customer authorized the payment over the Internet. TEL - Debit authorization obtained by telephone. POP - Point of Purchase check entry for a single entry debit.
- Returns:
- authType
Maps to Payflow Parameter: AUTHTYPE
-
setAuthType
Sets the Authtype. *The type of authorization received from the payer. Allowed Auth Types are: AUTHTYPE - Description CCD - Default for B2B format accounts PPD - Standard customer authorization method) for B2C format accounts. ARC - Accounts Receivables check entry for a single entry debit. RCK - Re-presented check entry for a single entry debit. WEB - The customer authorized the payment over the Internet. TEL - Debit authorization obtained by telephone. POP - Point of Purchase check entry for a single entry debit.
- Overrides:
setAuthTypein classBaseTender- Parameters:
authType- StringMaps to Payflow Parameter: AUTHTYPE
-
getPreNote
Gets the PreNote. *Prenote indicates a prenotification payment with no amount. Used to verify bank account validity. Receiving banks are not required to respond to prenotification payments. Allowed prenote values are: PRENOTE - Description N Default. AMT needs to be passed. Y Default. AMT does not need to be passed.
- Returns:
- preNote
Maps to Payflow Parameter: PRENOTE
-
setPreNote
Sets the PreNote. *Prenote indicates a prenotification payment with no amount. Used to verify bank account validity. Receiving banks are not required to respond to prenotification payments. Allowed prenote values are: PRENOTE - Description N Default. AMT needs to be passed. Y Default. AMT does not need to be passed.
- Parameters:
preNote- StringMaps to Payflow Parameter: PRENOTE
-
getTermCity
Gets the Term City.City where the merchant's terminal is located. Used only for POP.
- Returns:
- termCity
Maps to Payflow Parameter: TERMCITY
-
setTermCity
Gets the Term City.City where the merchant's terminal is located. Used only for POP.
- Parameters:
termCity- StringMaps to Payflow Parameter: TERMCITY
-
getTermState
Gets the TermState.State where the merchant's terminal is located. Used only for POP.
- Returns:
- termState
Maps to Payflow Parameter: TERMSTATE
-
setTermState
Gets the TermState.State where the merchant's terminal is located. Used only for POP.
- Parameters:
termState- StringMaps to Payflow Parameter: TERMSTATE
-
generateRequest
protected void generateRequest()Description copied from class:BaseTenderGenerates the transaction request.- Overrides:
generateRequestin classBaseTender
-
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
-