Class MBankAccountProcessor

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_BankAccount_Processor, I_Persistent, Evaluatee

public class MBankAccountProcessor extends X_C_BankAccount_Processor
Bank Account Payment Processor
Author:
Elaine
See Also:
  • Constructor Details

    • MBankAccountProcessor

      public MBankAccountProcessor(Properties ctx, String C_BankAccount_Processor_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_BankAccount_Processor_UU - UUID key
      trxName - Transaction
    • MBankAccountProcessor

      public MBankAccountProcessor(Properties ctx, int ignored, String trxName)
      Parameters:
      ctx -
      ignored -
      trxName -
    • MBankAccountProcessor

      public MBankAccountProcessor(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MBankAccountProcessor

      public MBankAccountProcessor(Properties ctx, int C_BankAccount_ID, int C_PaymentProcessor_ID, String trxName)
      Parameters:
      ctx -
      C_BankAccount_ID -
      C_PaymentProcessor_ID -
      trxName -
  • Method Details

    • find

      public static MBankAccountProcessor[] find(Properties ctx, String tender, String CCType, int AD_Client_ID, int AD_Org_ID, int C_Currency_ID, BigDecimal Amt, String trxName)
      Parameters:
      ctx -
      tender -
      CCType -
      AD_Client_ID -
      AD_Org_ID -
      C_Currency_ID -
      Amt -
      trxName -
      Returns:
      Array of Bank Account Payment Processor or null
    • find

      public static MBankAccountProcessor[] find(Properties ctx, String tender, String CCType, int AD_Client_ID, int C_Currency_ID, BigDecimal Amt, String trxName)
      Get Bank Account Processor
      Parameters:
      ctx - context
      tender - optional Tender see TENDER_
      CCType - optional CC Type see CC_
      AD_Client_ID - Client
      C_Currency_ID - Currency (ignored)
      Amt - Amount (ignored)
      trxName - transaction
      Returns:
      Array of Bank Account Payment Processor or null
    • get

      public static MBankAccountProcessor get(Properties ctx, int C_BankAccount_ID, int C_PaymentProcessor_ID, String trxName)
      Parameters:
      ctx -
      C_BankAccount_ID -
      C_PaymentProcessor_ID -
      trxName -
      Returns:
      MBankAccountProcessor
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • accepts

      public boolean accepts(String TenderType, String CreditCardType)
      Does Payment Processor accepts tender / CC
      Parameters:
      TenderType - tender type
      CreditCardType - credit card type
      Returns:
      true if accepted
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class X_C_BankAccount_Processor
      Returns:
      String representation
    • getHostAddress

      public String getHostAddress()
      Returns:
      payment processor host address
    • getHostPort

      public int getHostPort()
      Returns:
      payment processor host port
    • getProxyAddress

      public String getProxyAddress()
      Returns:
      payment processor proxy address
    • getProxyPort

      public int getProxyPort()
      Returns:
      payment processor proxy port
    • getProxyLogon

      public String getProxyLogon()
      Returns:
      payment processor proxy login
    • getProxyPassword

      public String getProxyPassword()
      Returns:
      payment processor proxy password