|
|||||||||
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.ItemQuantityChanged
public class ItemQuantityChanged
This class is a message object which is sent when an item's quantity is changed in an Order.
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 | |
---|---|
ItemQuantityChanged()
|
Method Summary | |
---|---|
double |
getAmount()
The price of the items added |
java.lang.Object |
getCatalogRef()
The catalogRef that is associated with the item. |
CommerceItem |
getCommerceItem()
The recently added item |
java.lang.String |
getId()
This is the Id of this message. |
long |
getNewQuantity()
The new quantity of the item |
long |
getOldQuantity()
The quantity of the item before the change |
Order |
getOrder()
The order that the item quantity was changed in |
java.lang.Object |
getProduct()
The product that is associated with 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 |
setId(java.lang.String pId)
|
void |
setNewQuantity(long pNewQuantity)
|
void |
setOldQuantity(long pOldQuantity)
|
void |
setOrder(Order pOrder)
|
void |
setProduct(java.lang.Object pProduct)
|
java.lang.String |
toString()
|
Methods inherited from class atg.commerce.fulfillment.scenario.ScenarioEvent |
---|
appendBaseToString, getParentSessionId, getProfile, getProfileId, getProfileTools, getSessionId, lookUpProfile, setParentSessionId, setProfile, setProfileId, setSessionId |
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 ItemQuantityChanged()
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 setOldQuantity(long pOldQuantity)
public long getOldQuantity()
public void setNewQuantity(long pNewQuantity)
public long getNewQuantity()
public void setAmount(double pAmount)
public double getAmount()
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 |