public class CommerceItemEvent extends OrderEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
CommerceItemEvent() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommerceItemId() |
long |
getNewQuantity()
The new quantity of the item
|
double |
getNewQuantityWithFraction()
The new quantity of the item
|
long |
getOldQuantity()
The quantity of the item before the change
|
double |
getOldQuantityWithFraction()
The quantityWithFraction of the item before the change
|
void |
setCommerceItemId(java.lang.String pCommerceItemId)
Sets the ID of the commerce item
|
void |
setNewQuantity(long pNewQuantity) |
void |
setNewQuantityWithFraction(double pNewQuantityWithFraction) |
void |
setOldQuantity(long pOldQuantity) |
void |
setOldQuantityWithFraction(double pOldQuantityWithFraction) |
getAmount, getOrderId, setAmount, setOrderId, toString
getAgentProfile, getCurrentSiteId, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCurrentSiteId, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType
public static final java.lang.String CLASS_VERSION
public void setCommerceItemId(java.lang.String pCommerceItemId)
pCommerceItemId
- the ID of the commerce itempublic java.lang.String getCommerceItemId()
public void setOldQuantity(long pOldQuantity)
public long getOldQuantity()
public void setNewQuantity(long pNewQuantity)
public long getNewQuantity()
public void setOldQuantityWithFraction(double pOldQuantityWithFraction)
public double getOldQuantityWithFraction()
public void setNewQuantityWithFraction(double pNewQuantityWithFraction)
public double getNewQuantityWithFraction()