atg.commerce.csr.events
Class SplitCostCenter

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

public class SplitCostCenter
extends OrderEvent

The message class to be used to notify listeners when a CSR splits a shipping group's commerce items into another shipping group

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
SplitCostCenter()
           
 
Method Summary
 java.lang.String getCommerceIdentifierId()
           
 java.lang.String getDestinationCostCenterId()
           
 long getQuantity()
           
 java.lang.String getSourceCostCenterId()
           
 void setCommerceIdentifierId(java.lang.String pCommerceIdentifierId)
          Sets the ID of the commerce identifier that was moved
 void setDestinationCostCenterId(java.lang.String pDestinationCostCenterId)
          Sets the ID of the cost center that the item was moved into
 void setQuantity(long pQuantity)
          The quantity of the item that was moved
 void setSourceCostCenterId(java.lang.String pSourceCostCenterId)
          Sets the ID of the cost center the item was removed from
 
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
Constructor Detail

SplitCostCenter

public SplitCostCenter()
Method Detail

setCommerceIdentifierId

public void setCommerceIdentifierId(java.lang.String pCommerceIdentifierId)
Sets the ID of the commerce identifier that was moved

Parameters:
pCommerceIdentifierId - the id of the commerce identifier that was moved

getCommerceIdentifierId

public java.lang.String getCommerceIdentifierId()
Returns:
the ID of the commerce identifier that was moved

setDestinationCostCenterId

public void setDestinationCostCenterId(java.lang.String pDestinationCostCenterId)
Sets the ID of the cost center that the item was moved into

Parameters:
pDestinationCostCenterId - the ID of the cost center the item was moved into

getDestinationCostCenterId

public java.lang.String getDestinationCostCenterId()
Returns:
the ID of the cost center the item was moved into

setQuantity

public void setQuantity(long pQuantity)
The quantity of the item that was moved

Parameters:
pQuantity - the quantity of the item that was moved

getQuantity

public long getQuantity()
Returns:
the quantity of the item that was moved

setSourceCostCenterId

public void setSourceCostCenterId(java.lang.String pSourceCostCenterId)
Sets the ID of the cost center the item was removed from

Parameters:
pSourceCostCenterId - the ID of the cost center the item was removed from

getSourceCostCenterId

public java.lang.String getSourceCostCenterId()
Returns:
the ID of the cost center the item was removed from