Class PaymentFormDirect

java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormDirect
All Implemented Interfaces:
IPaymentForm
Direct Known Subclasses:
WPaymentFormDirect

public abstract class PaymentFormDirect extends PaymentForm
Payment for direct debit and direct deposit
Author:
Elaine
  • Field Details

    • m_C_Payment_ID

      protected int m_C_Payment_ID
      Start Payment
    • m_mPayment

      protected MPayment m_mPayment
    • m_mPaymentOriginal

      protected MPayment m_mPaymentOriginal
    • processMsg

      protected String processMsg
  • Constructor Details

    • PaymentFormDirect

      public PaymentFormDirect(int windowNo, GridTab mTab, boolean isDebit)
      Parameters:
      windowNo -
      mTab -
      isDebit -
  • Method Details

    • loadData

      public void loadData()
      Description copied from interface: IPaymentForm
      Load payment and related transaction records. Usually call from dynInit()
    • getBankAccountList

      public ArrayList<KeyNamePair> getBankAccountList()
      Get bank account list
      Returns:
      List of active bank accounts (C_BankAccount_ID, Name+AccountNo)
    • saveChanges

      public boolean saveChanges()
      Description copied from interface: IPaymentForm
      Save Changes
      Specified by:
      saveChanges in interface IPaymentForm
      Overrides:
      saveChanges in class PaymentForm
      Returns:
      true, if Window can exit
    • save

      public boolean save(int C_BankAccount_ID, String routing, String number, String trxName)
      Save changes
      Parameters:
      C_BankAccount_ID -
      routing - routing number
      number - account number
      trxName -
      Returns:
      true if save successfully
    • afterSave

      protected void afterSave(boolean success)
      Description copied from class: PaymentForm
      After save and transaction have been committed/rollback
      Specified by:
      afterSave in class PaymentForm
    • isBankAccountProcessorExist

      public boolean isBankAccountProcessorExist()
      Is online payment processor have been configured for direct* tender type
      Returns:
      true if online payment processor have been configured for direct* tender type
    • getBankAccountProcessor

      public MBankAccountProcessor getBankAccountProcessor()
      Get online payment processor configured for direct* tender type
      Returns:
      MBankAccountProcessor