Class PaymentChangeEvent

java.lang.Object
java.util.EventObject
com.portal.app.cc.event.PaymentChangeEvent
All Implemented Interfaces:
Serializable

public class PaymentChangeEvent extends EventObject
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 Details

    • PAYMENT_TYPE

      public static final int PAYMENT_TYPE
      Indicates a payment method change event type
      See Also:
    • BILLING

      public static final int BILLING
      Indicates a billing change (DOM, billing frequency) event type
      See Also:
    • PAYMENT_DATA_CHANGE

      public static final int PAYMENT_DATA_CHANGE
      Indicates data change in the same payment-type
      See Also:
    • BILLING_DATA_CHANGE

      public static final int BILLING_DATA_CHANGE
      Indicates data change in billing data for payment page
      See Also:
    • BORDER_COLOR_CHANGE

      public static final int BORDER_COLOR_CHANGE
      Specifically used to notify PPageTemplate to change border color
      See Also:
  • Constructor Details

    • PaymentChangeEvent

      public PaymentChangeEvent(Object source, int type)
      Constructs a PaymentChangeEvent object.
      Parameters:
      source - the Object that is the source of the event (typically this)
      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