atg.commerce.order
Class ItemRemovedFromOrder

java.lang.Object
  extended by atg.commerce.fulfillment.scenario.ScenarioEvent
      extended by atg.commerce.order.ItemRemovedFromOrder
All Implemented Interfaces:
java.io.Serializable

public class ItemRemovedFromOrder
extends ScenarioEvent

This class is a message object which specifies that an item has been removed from an order.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class atg.commerce.fulfillment.scenario.ScenarioEvent
ScenarioEvent.ProfileToolsSingleton
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String TYPE
           
 
Constructor Summary
ItemRemovedFromOrder()
           
 
Method Summary
 double getAmount()
          The price of the items removed
 java.lang.Object getCatalogRef()
          The catalogRef that is associated with the item.
 CommerceItem getCommerceItem()
          The recently removed item
 boolean getGiftWithPurchase()
          The boolean flag to indicate whether the item was a free gift from a gift with purchase promotion.
 Order getOrder()
          The order that the item was remoevd from
 java.lang.Object getProduct()
          The product that is associated with the item.
 long getQuantity()
          The quantity of the item being removed
 java.lang.String getType()
          the type of this event.
 void setAmount(double pAmount)
           
 void setCatalogRef(java.lang.Object pCatalogRef)
           
 void setCommerceItem(CommerceItem pCommerceItem)
           
 void setGiftWithPurchase(boolean pGiftWithPurchase)
           
 void setOrder(Order pOrder)
           
 void setProduct(java.lang.Object pProduct)
           
 void setQuantity(long pQuantity)
           
 java.lang.String toString()
           
 
Methods inherited from class atg.commerce.fulfillment.scenario.ScenarioEvent
appendBaseToString, getId, getParentSessionId, getProfile, getProfileId, getProfileTools, getSessionId, getSiteId, lookUpProfile, setId, setParentSessionId, setProfile, setProfileId, setSessionId, setSiteId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

ItemRemovedFromOrder

public ItemRemovedFromOrder()
Method Detail

setOrder

public void setOrder(Order pOrder)

getOrder

public Order getOrder()
The order that the item was remoevd from


setCatalogRef

public void setCatalogRef(java.lang.Object pCatalogRef)

getCatalogRef

public java.lang.Object getCatalogRef()
The catalogRef that is associated with the item.


setProduct

public void setProduct(java.lang.Object pProduct)

getProduct

public java.lang.Object getProduct()
The product that is associated with the item.


setCommerceItem

public void setCommerceItem(CommerceItem pCommerceItem)

getCommerceItem

public CommerceItem getCommerceItem()
The recently removed item


setQuantity

public void setQuantity(long pQuantity)

getQuantity

public long getQuantity()
The quantity of the item being removed


setAmount

public void setAmount(double pAmount)

getAmount

public double getAmount()
The price of the items removed


setGiftWithPurchase

public void setGiftWithPurchase(boolean pGiftWithPurchase)

getGiftWithPurchase

public boolean getGiftWithPurchase()
The boolean flag to indicate whether the item was a free gift from a gift with purchase promotion.


getType

public java.lang.String getType()
the type of this event.

Overrides:
getType in class ScenarioEvent

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object