Package com.portal.app.cc.event
Class PaymentChangeEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.PaymentChangeEvent
- All Implemented Interfaces:
Serializable
The event sent out when data changes that impacts the payment type
or billing data (frequency, day of month, billing cycles).
- Version:
- %version: 3 % %date_modified: Fri Sep 28 11:21:53 2001 %
- Author:
- kapono
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates a billing change (DOM, billing frequency) event typestatic final int
Indicates data change in billing data for payment pagestatic final int
Specifically used to notify PPageTemplate to change border colorstatic final int
Indicates data change in the same payment-typestatic final int
Indicates a payment method change event typeFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionPaymentChangeEvent
(Object source, int type) Constructs a PaymentChangeEvent object. -
Method Summary
Modifier and TypeMethodDescriptionint
int
getType()
void
setPaymentType
(int payType) Used to indicate the new payment typeMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
PAYMENT_TYPE
public static final int PAYMENT_TYPEIndicates a payment method change event type- See Also:
-
BILLING
public static final int BILLINGIndicates a billing change (DOM, billing frequency) event type- See Also:
-
PAYMENT_DATA_CHANGE
public static final int PAYMENT_DATA_CHANGEIndicates data change in the same payment-type- See Also:
-
BILLING_DATA_CHANGE
public static final int BILLING_DATA_CHANGEIndicates data change in billing data for payment page- See Also:
-
BORDER_COLOR_CHANGE
public static final int BORDER_COLOR_CHANGESpecifically used to notify PPageTemplate to change border color- See Also:
-
-
Constructor Details
-
PaymentChangeEvent
Constructs a PaymentChangeEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)type
- the event type
-
-
Method Details
-
getType
public int getType()- Returns:
- The event type (payment, billing, data change)
-
setPaymentType
public void setPaymentType(int payType) Used to indicate the new payment type- Parameters:
payType
- Should be one of the known Portal values (10003, 10005, etc.)
-
getPaymentType
public int getPaymentType()- Returns:
- The new or changed payment type associated with this event
-