atg.commerce.csr.events
Class SplitShippingGroup

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

public class SplitShippingGroup
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
SplitShippingGroup()
           
 
Method Summary
 java.lang.String getCommerceItemId()
           
 java.lang.String getDestinationShippingGroupId()
           
 long getQuantity()
           
 java.lang.String getSourceShippingGroupId()
           
 void setCommerceItemId(java.lang.String pCommerceItemId)
          Sets the ID of the commerce item that was moved
 void setDestinationShippingGroupId(java.lang.String pDestinationShippingGroupId)
          Sets the ID of the shipping group that the item was moved into
 void setQuantity(long pQuantity)
          The quantity of the item that was moved
 void setSourceShippingGroupId(java.lang.String pSourceShippingGroupId)
          Sets the ID of the shipping group 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

SplitShippingGroup

public SplitShippingGroup()
Method Detail

setCommerceItemId

public void setCommerceItemId(java.lang.String pCommerceItemId)
Sets the ID of the commerce item that was moved

Parameters:
pCommerceItemId - the id of the commerce item that was moved

getCommerceItemId

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

setDestinationShippingGroupId

public void setDestinationShippingGroupId(java.lang.String pDestinationShippingGroupId)
Sets the ID of the shipping group that the item was moved into

Parameters:
pDestinationShippingGroupId - the ID of the shipping group the item was moved into

getDestinationShippingGroupId

public java.lang.String getDestinationShippingGroupId()
Returns:
the ID of the shipping group 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

setSourceShippingGroupId

public void setSourceShippingGroupId(java.lang.String pSourceShippingGroupId)
Sets the ID of the shipping group the item was removed from

Parameters:
pSourceShippingGroupId - the ID of the shipping group the item was removed from

getSourceShippingGroupId

public java.lang.String getSourceShippingGroupId()
Returns:
the ID of the shipping group the item was removed from