|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.fulfillment.scenario.ScenarioEvent atg.commerce.order.ItemAddedToOrder
public class ItemAddedToOrder
This class is a message object which is sent when an item is added to an Order or an item's quantity is increased.
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 | |
---|---|
ItemAddedToOrder()
|
Method Summary | |
---|---|
double |
getAmount()
The price of the new or updated item |
java.lang.Object |
getCatalogRef()
The catalogRef that is associated with the item. |
CommerceItem |
getCommerceItem()
The recently added or updated item |
boolean |
getGiftWithPurchase()
The boolean flag to indicate whether the item was a free gift from a gift with purchase promotion. |
java.lang.String |
getId()
This is the Id of this message. |
Order |
getOrder()
The order that the item was added to |
java.lang.Object |
getProduct()
The product that is associated with the item. |
long |
getQuantity()
The quantity added to the item |
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 |
setId(java.lang.String pId)
|
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, getParentSessionId, getProfile, getProfileId, getProfileTools, getSessionId, getSiteId, lookUpProfile, setParentSessionId, setProfile, setProfileId, setSessionId, setSiteId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
Constructor Detail |
---|
public ItemAddedToOrder()
Method Detail |
---|
public void setId(java.lang.String pId)
setId
in class ScenarioEvent
public java.lang.String getId()
getId
in class ScenarioEvent
public void setOrder(Order pOrder)
public Order getOrder()
public void setCatalogRef(java.lang.Object pCatalogRef)
public java.lang.Object getCatalogRef()
public void setProduct(java.lang.Object pProduct)
public java.lang.Object getProduct()
public void setCommerceItem(CommerceItem pCommerceItem)
public CommerceItem getCommerceItem()
public void setQuantity(long pQuantity)
public long getQuantity()
public void setAmount(double pAmount)
public double getAmount()
public void setGiftWithPurchase(boolean pGiftWithPurchase)
public boolean getGiftWithPurchase()
public java.lang.String getType()
getType
in class ScenarioEvent
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |