Class PaymentFormCheck

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

public abstract class PaymentFormCheck extends PaymentForm
Payment for Check tender type
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
    • m_C_BankAccount_ID

      protected int m_C_BankAccount_ID
      Start Bank Account
    • selectedBankAccount

      protected KeyNamePair selectedBankAccount
    • processMsg

      protected String processMsg
  • Constructor Details

    • PaymentFormCheck

      public PaymentFormCheck(int windowNo, GridTab mTab)
      Parameters:
      windowNo -
      mTab -
  • 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()
      Set default selected bank account and return list of active bank account records
      Returns:
      list of active bank account (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 check, BigDecimal amount, String trxName)
      Save changes
      Parameters:
      C_BankAccount_ID -
      routing - routing number
      number - account number
      check - check number
      amount -
      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(int C_Currency_ID, BigDecimal PayAmt)
      Is online payment processor have been configured for tender type check
      Parameters:
      C_Currency_ID -
      PayAmt -
      Returns:
      if online payment processor have been configured for tender type check
    • getBankAccountProcessor

      public MBankAccountProcessor getBankAccountProcessor(int C_Currency_ID, BigDecimal PayAmt)
      Get online payment processor configuration for tender type check
      Parameters:
      C_Currency_ID -
      PayAmt -
      Returns:
      MBankAccountProcessor