Package org.compiere.grid
Class PaymentFormDirect
java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormDirect
- All Implemented Interfaces:
IPaymentForm
- Direct Known Subclasses:
WPaymentFormDirect
- Author:
- Elaine
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
Start Paymentprotected MPayment
protected MPayment
protected String
Fields inherited from class org.compiere.grid.PaymentForm
log, m_AD_Client_ID, m_AD_Org_ID, m_Amount, m_C_BPartner_ID, m_C_Currency_ID, m_Cash_As_Payment, m_DateAcct, m_DocStatus, m_isSOTrx, m_needSave, m_onlyRule, m_PaymentRule
-
Constructor Summary
-
Method Summary
Methods inherited from class org.compiere.grid.PaymentForm
dynInit, getBankAccountProcessor, getGridTab, getInvoiceID, getWindowNo, isApproved, isBankAccountProcessorExist, isOnlyRule, needSave, processOnline, setBankAccountProcessor, setCustomizeValues
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.compiere.grid.IPaymentForm
checkMandatory, closeWindow, getWindow, saveChangesInTrx, showWindow
-
Field Details
-
m_C_Payment_ID
protected int m_C_Payment_IDStart Payment -
m_mPayment
-
m_mPaymentOriginal
-
processMsg
-
-
Constructor Details
-
PaymentFormDirect
- 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
- Returns:
- List of active bank accounts
-
saveChanges
public boolean saveChanges()Description copied from interface:IPaymentForm
Save Changes- Specified by:
saveChanges
in interfaceIPaymentForm
- Overrides:
saveChanges
in classPaymentForm
- Returns:
- true, if Window can exit
-
save
- Parameters:
C_BankAccount_ID
-routing
- routing numbernumber
- account numbertrxName
-- Returns:
- true if save successfully
-
afterSave
protected void afterSave(boolean success) Description copied from class:PaymentForm
after save and trx committed/rollback- Specified by:
afterSave
in classPaymentForm
-
isBankAccountProcessorExist
public boolean isBankAccountProcessorExist()- Returns:
- true if online payment processor have been configured for direct* tender type
-
getBankAccountProcessor
Get online payment processor configured for direct* tender type- Returns:
MBankAccountProcessor
-