Class WPaymentFormCreditCard

java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormCreditCard
org.adempiere.webui.apps.form.WPaymentFormCreditCard
All Implemented Interfaces:
IPaymentForm, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WPaymentFormCreditCard extends PaymentFormCreditCard implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Form for credit card payment rule (X_C_Order.PAYMENTRULE_CreditCard).
Author:
Elaine
  • Constructor Details

    • WPaymentFormCreditCard

      public WPaymentFormCreditCard(int windowNo, GridTab mTab)
      Parameters:
      windowNo -
      mTab -
  • Method Details

    • init

      protected void init()
      Layout window
    • loadData

      public void loadData()
      Description copied from interface: IPaymentForm
      Load payment and related transaction records. Usually call from dynInit()
      Specified by:
      loadData in interface IPaymentForm
      Overrides:
      loadData in class PaymentFormCreditCard
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event e)
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
    • checkMandatory

      public boolean checkMandatory()
      Description copied from interface: IPaymentForm
      mandatory field validations
      Specified by:
      checkMandatory in interface IPaymentForm
      Returns:
      true if all mandatory field have been populated
    • saveChangesInTrx

      public boolean saveChangesInTrx(String trxName)
      Description copied from interface: IPaymentForm
      Save changes to DB
      Specified by:
      saveChangesInTrx in interface IPaymentForm
      Returns:
      true if save successfully
    • processOnline

      public void processOnline()
      Description copied from interface: IPaymentForm
      online payment processing (for e.g credit card)
      Specified by:
      processOnline in interface IPaymentForm
      Overrides:
      processOnline in class PaymentForm
    • showWindow

      public void showWindow()
      Description copied from interface: IPaymentForm
      show form
      Specified by:
      showWindow in interface IPaymentForm
    • closeWindow

      public void closeWindow()
      Description copied from interface: IPaymentForm
      close form
      Specified by:
      closeWindow in interface IPaymentForm
    • getWindow

      public Object getWindow()
      Specified by:
      getWindow in interface IPaymentForm
      Returns:
      instance of UI form