public class TransientOrderEvent extends CommerceMessageImpl
This class is used to create transient order messages that indicate when an order has been either abandoned or submitted by a transient user
AbandonedOrderEventListener, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
static java.lang.String | 
TYPE  | 
| Constructor and Description | 
|---|
TransientOrderEvent()  | 
TransientOrderEvent(RepositoryItem pProfile,
                   java.lang.String pOrderId,
                   double pAmount,
                   java.lang.String pCurrencyCode,
                   int pSubmitted)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getAmount()  | 
java.lang.String | 
getCurrencyCode()  | 
java.lang.String | 
getOrderId()  | 
RepositoryItem | 
getProfile()  | 
RepositoryItem | 
getSubject()  | 
int | 
getSubmitted()  | 
java.lang.String | 
getType()
return the TYPE of the message 
 | 
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 | 
setProfile(RepositoryItem pProfile)
The profile associated with the event. 
 | 
void | 
setSubmitted(int pSubmitted)
A "0" value indicates the order was not submitted. 
 | 
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 static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
public TransientOrderEvent()
public TransientOrderEvent(RepositoryItem pProfile, java.lang.String pOrderId, double pAmount, java.lang.String pCurrencyCode, int pSubmitted)
public void setOrderId(java.lang.String pOrderId)
pOrderId - the ID of the order associated with the event.public java.lang.String getOrderId()
public void setProfile(RepositoryItem pProfile)
pProfile - the profile associated with the event.public RepositoryItem getProfile()
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 setSubmitted(int pSubmitted)
pSubmitted - A "0" value indicates the order was not submitted. 
        A "100" value indicates the order has been submitted.public int getSubmitted()
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 RepositoryItem getSubject()
public java.lang.String toString()
toString in class java.lang.Object