Package com.portal.common
Class PaymentMethodData
java.lang.Object
com.portal.common.PaymentMethodData
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
Indicies for the various types of events supported by a payment method. -
Method Summary
Modifier and TypeMethodDescriptionReturn the array of op-codes utilized by this "payment method".Return the name of the storable class that this payment method pertains to (i.e.Return the "payment event" that this payment method will create.int
Return the "index" or "ID" of the payment method.Return the "refund event" that this payment method will create.
-
Field Details
-
EVENT_VALIDATE_INDEX
public static final int EVENT_VALIDATE_INDEXIndicies 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
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
Return the "payment event" that this payment method will create.- Returns:
- the "payment event" that this payment method will create.
-
getRefundEventName
Return the "refund event" that this payment method will create.- Returns:
- the "refund event" that this payment method will create.
-
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".
-