|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.agent.events.AgentEvent
atg.commerce.csr.events.PriceOverride
public class PriceOverride
The message class to be used to notify listeners when a CSR overrides the price of an element in an order
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Fields inherited from class atg.agent.events.AgentEvent |
|---|
AGENT_TOOLS_COMPONENT, mCurrentSiteId |
| Constructor Summary | |
|---|---|
PriceOverride()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComponentId()
|
java.lang.String |
getComponentType()
|
double |
getNewPrice()
|
double |
getOldPrice()
|
java.lang.String |
getOrderId()
|
void |
setComponentId(java.lang.String pComponentId)
Sets the ID of the order component (commerceItem, shippingGroup) whose price was changed |
void |
setComponentType(java.lang.String pComponentType)
Sets the type of the order component (commerceItem, shippingGroup) whose price was changed |
void |
setNewPrice(double pNewPrice)
Sets the new price of the item |
void |
setOldPrice(double pOldPrice)
Sets the old price of the item |
void |
setOrderId(java.lang.String pOrderId)
Sets the ID of the order |
| Methods inherited from class atg.agent.events.AgentEvent |
|---|
getAgentProfile, getCurrentSiteId, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCurrentSiteId, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public PriceOverride()
| Method Detail |
|---|
public void setComponentId(java.lang.String pComponentId)
pComponentId - the ID of the order component (commerceItem, shippingGroup) whose price was changedpublic java.lang.String getComponentId()
public void setComponentType(java.lang.String pComponentType)
pComponentType - the type of order component (commerceItem, shippingGroup) whose price was changedpublic java.lang.String getComponentType()
public void setNewPrice(double pNewPrice)
pNewPrice - the new price of the itempublic double getNewPrice()
public void setOldPrice(double pOldPrice)
pOldPrice - the old price of the itempublic double getOldPrice()
public void setOrderId(java.lang.String pOrderId)
pOrderId - the ID of the orderpublic java.lang.String getOrderId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||