atg.commerce.csr.events
Class OrderEvent

java.lang.Object
  extended by atg.agent.events.AgentEvent
      extended by atg.commerce.csr.events.OrderEvent
All Implemented Interfaces:
atg.service.datacollection.TypedEvent, java.io.Serializable
Direct Known Subclasses:
ClaimItem, CommerceItemEvent, CreateOrderComment, OrderManualAdjustmentEvent, PaymentGroupEvent, ReturnOrder, ScheduledOrderEvent, ShippingGroupEvent, SplitCostCenter, SplitShippingGroup

public class OrderEvent
extends atg.agent.events.AgentEvent

The message class to be used to notify listeners when a CSR acts upon an order (views, edits, submits, etc.)

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT, mCurrentSiteId
 
Constructor Summary
OrderEvent()
           
 
Method Summary
 double getAmount()
           
 java.lang.String getOrderId()
           
 void setAmount(double pAmount)
          Sets the amount of the order
 void setOrderId(java.lang.String pOrderId)
          Sets the ID of the order
 java.lang.String 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
Constructor Detail

OrderEvent

public OrderEvent()
Method Detail

setAmount

public void setAmount(double pAmount)
Sets the amount of the order

Parameters:
pAmount - the amount of the order

getAmount

public double getAmount()
Returns:
the amount of the order

setOrderId

public void setOrderId(java.lang.String pOrderId)
Sets the ID of the order

Parameters:
pOrderId - the ID of the order

getOrderId

public java.lang.String getOrderId()
Returns:
the ID of the order

toString

public java.lang.String toString()
Overrides:
toString in class atg.agent.events.AgentEvent