public class PriceOverride
extends atg.agent.events.AgentEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
PriceOverride() |
Modifier and Type | Method and Description |
---|---|
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
|
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
public static final java.lang.String CLASS_VERSION
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()