public class ItemAddedToOrder extends ScenarioEvent
ScenarioEvent.ProfileToolsSingleton
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
TYPE |
Constructor and Description |
---|
ItemAddedToOrder() |
Modifier and Type | Method and Description |
---|---|
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() |
appendBaseToString, getParentSessionId, getProfile, getProfileId, getProfileTools, getSessionId, getSiteId, lookUpProfile, setParentSessionId, setProfile, setProfileId, setSessionId, setSiteId
public static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
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