atg.commerce.csr.events
Class PaymentGroupEvent

java.lang.Object
  extended by atg.agent.events.AgentEvent
      extended by atg.commerce.csr.events.OrderEvent
          extended by atg.commerce.csr.events.PaymentGroupEvent
All Implemented Interfaces:
PropertyUpdateEvent, atg.service.datacollection.TypedEvent, java.io.Serializable

public class PaymentGroupEvent
extends OrderEvent
implements PropertyUpdateEvent

The message class to be used to notify listeners when a CSR edits or adds a payment group

See Also:
Serialized Form

Field Summary
static int ADD_TYPE
          Event update type when a payment group is added
static java.lang.String CLASS_VERSION
           
static int EDIT_TYPE
          Event update type when a payment group property is modified
static int REMOVE_TYPE
          Event update type when a payment group is removed
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT, mCurrentSiteId
 
Constructor Summary
PaymentGroupEvent()
           
 
Method Summary
 java.lang.String getPaymentGroupId()
           
 java.util.List getPropertyUpdates()
           
 int getUpdateType()
           
 void setPaymentGroupId(java.lang.String pPaymentGroupId)
          Sets the ID of the payment
 void setPropertyUpdates(java.util.List pPropertyUpdates)
          Sets the list of PropertyUpdates
 void setUpdateType(int pUpdateType)
          Update type.
 
Methods inherited from class atg.commerce.csr.events.OrderEvent
getAmount, getOrderId, setAmount, setOrderId, toString
 
Methods inherited from class atg.agent.events.AgentEvent
getAgentProfile, getCurrentSiteId, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCurrentSiteId, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

EDIT_TYPE

public static final int EDIT_TYPE
Event update type when a payment group property is modified

See Also:
Constant Field Values

REMOVE_TYPE

public static final int REMOVE_TYPE
Event update type when a payment group is removed

See Also:
Constant Field Values

ADD_TYPE

public static final int ADD_TYPE
Event update type when a payment group is added

See Also:
Constant Field Values
Constructor Detail

PaymentGroupEvent

public PaymentGroupEvent()
Method Detail

setPaymentGroupId

public void setPaymentGroupId(java.lang.String pPaymentGroupId)
Sets the ID of the payment

Parameters:
pPaymentGroupId - the ID of the payment group

getPaymentGroupId

public java.lang.String getPaymentGroupId()
Returns:
the ID of the payment group

setPropertyUpdates

public void setPropertyUpdates(java.util.List pPropertyUpdates)
Sets the list of PropertyUpdates

Parameters:
pPropertyUpdates - the list of PropertyUpdates

getPropertyUpdates

public java.util.List getPropertyUpdates()
Specified by:
getPropertyUpdates in interface PropertyUpdateEvent
Returns:
the list of PropertyUpdates

getUpdateType

public int getUpdateType()
Returns:
Returns the UpdateType.

setUpdateType

public void setUpdateType(int pUpdateType)
Update type.

Parameters:
pUpdateType - the type of update made.