Class ACHTender


public final class ACHTender extends BaseTender
This class is used to create and use an ACH( Automatic Clearing House ) Tender type. BankAcct is the Payment device associated with this tender type. BankAcct
  • Constructor Details

    • ACHTender

      public ACHTender(BankAcct bankAccount)
      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

      public String 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

      public void setAuthType(String authType)
      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:
      setAuthType in class BaseTender
      Parameters:
      authType - String

      Maps to Payflow Parameter: AUTHTYPE

    • getPreNote

      public String 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

      public void setPreNote(String preNote)
      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 - String

      Maps to Payflow Parameter: PRENOTE

    • getTermCity

      public String 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

      public void setTermCity(String termCity)
      Gets the Term City.

      City where the merchant's terminal is located. Used only for POP.

      Parameters:
      termCity - String

      Maps to Payflow Parameter: TERMCITY

    • getTermState

      public String getTermState()
      Gets the TermState.

      State where the merchant's terminal is located. Used only for POP.

      Returns:
      termState

      Maps to Payflow Parameter: TERMSTATE

    • setTermState

      public void setTermState(String termState)
      Gets the TermState.

      State where the merchant's terminal is located. Used only for POP.

      Parameters:
      termState - String

      Maps to Payflow Parameter: TERMSTATE

    • generateRequest

      protected void generateRequest()
      Description copied from class: BaseTender
      Generates the transaction request.
      Overrides:
      generateRequest in class BaseTender
    • getContext

      protected Context getContext()
    • setContext

      protected void setContext(Context context)
    • getRequestBuffer

      protected StringBuffer getRequestBuffer()
      Gets the Requestbuffer used for creating the actual request string.
      Returns:
      mRequestBuffer StringBuffer
    • setRequestBuffer

      protected void setRequestBuffer(StringBuffer value)
      sets the StringBuffer to hold the request string.
      Parameters:
      value - StringBuffer