public class ItemRemovedFromOrder 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 |
|---|
ItemRemovedFromOrder() |
| Modifier and Type | Method and Description |
|---|---|
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() |
appendBaseToString, getId, getParentSessionId, getProfile, getProfileId, getProfileTools, getSessionId, getSiteId, lookUpProfile, setId, setParentSessionId, setProfile, setProfileId, setSessionId, setSiteIdpublic static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
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 ScenarioEventpublic java.lang.String toString()
toString in class java.lang.Object