public class OrderAbandoned extends CommerceMessageImpl
This class is used to create each of the types of order abandonment messages: OrderAbandoned, OrderReanimated, OrderConverted, and OrderLost. This class is used by AbandonedOrderTools to build the object messages.
AbandonedOrderTools, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor and Description | 
|---|
| OrderAbandoned() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAbandonmentState() | 
| double | getAmount()Monetary value of the order. | 
| java.lang.String | getCurrencyCode()Currency code for the order. | 
| java.lang.String | getOrderId() | 
| java.lang.String | getProfileId() | 
| java.lang.String | getType()return the TYPE of the message | 
| void | setAbandonmentState(java.lang.String pAbandonmentState)The abandonment state of the order. | 
| void | setAmount(double pAmount)The monetary value of the order. | 
| void | setCurrencyCode(java.lang.String pCurrencyCode)The currency code for the monetary value of the order. | 
| void | setOrderId(java.lang.String pOrderId)The ID of the order associated with the event. | 
| void | setProfileId(java.lang.String pProfileId)The profile ID of the owner of the order. | 
| void | setType(java.lang.String pType)The JMS message TYPE of the message. | 
| java.lang.String | toString()This method returns a readable string representing the contents of this message. | 
appendBaseToString, getId, getOriginalId, getOriginalSource, getOriginalUserId, getParentSessionId, getSessionId, getSiteId, getSource, getUserId, setId, setOriginalId, setOriginalSource, setOriginalUserId, setParentSessionId, setSessionId, setSiteId, setSource, setUserIdpublic void setOrderId(java.lang.String pOrderId)
pOrderId - the ID of the order associated with the event.public java.lang.String getOrderId()
public void setProfileId(java.lang.String pProfileId)
pProfileId - the profile ID of the owner of the order.public java.lang.String getProfileId()
public void setAbandonmentState(java.lang.String pAbandonmentState)
pAbandonmentState - the abandonment state of the order. The default 
 abandonment states are ABANDONED, REANIMATED, CONVERTED, and LOST.public java.lang.String getAbandonmentState()
public void setAmount(double pAmount)
pAmount - the monetary value of the order.public double getAmount()
public void setCurrencyCode(java.lang.String pCurrencyCode)
pCurrencyCode - the currency codepublic java.lang.String getCurrencyCode()
public void setType(java.lang.String pType)
pType - the JMS message TYPE of the message.public java.lang.String getType()
CommerceMessageImplgetType in interface CommerceMessagegetType in class CommerceMessageImplpublic java.lang.String toString()
toString in class java.lang.Object