Class PaymentMethodData

java.lang.Object
com.portal.common.PaymentMethodData
All Implemented Interfaces:
Serializable

public class PaymentMethodData extends Object implements Serializable
See Also:
  • Field Details

    • EVENT_VALIDATE_INDEX

      public static final int EVENT_VALIDATE_INDEX
      Indicies for the various types of events supported by a payment method.
      See Also:
    • EVENT_CHAGRE_INDEX

      public static final int EVENT_CHAGRE_INDEX
      See Also:
    • EVENT_RECOVER_INDEX

      public static final int EVENT_RECOVER_INDEX
      See Also:
  • Method Details

    • getPaymentMethodIndex

      public int getPaymentMethodIndex()
      Return the "index" or "ID" of the payment method.
      Returns:
      the "index" or "ID" of the payment method.
    • getPayinfoClassName

      public String getPayinfoClassName()
      Return the name of the storable class that this payment method pertains to (i.e. "/payinfo", "/payinfo.cc", etc.)
      Returns:
      the name of the storable class that this payment method pertains to (i.e. "/payinfo", "/payinfo.cc", etc.)
    • getPaymentEventName

      public String getPaymentEventName()
      Return the "payment event" that this payment method will create.
      Returns:
      the "payment event" that this payment method will create.
    • getRefundEventName

      public String getRefundEventName()
      Return the "refund event" that this payment method will create.
      Returns:
      the "refund event" that this payment method will create.
    • getOpcodeArray

      public PaymentMethodData.OpcodeInfo[] getOpcodeArray()
      Return the array of op-codes utilized by this "payment method". The array will always contain three op-codes. An op-code for validation, charge, and refund.
      Returns:
      the array of op-codes utilized by this "payment method".