|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.messaging.CommerceMessageImpl atg.commerce.order.abandoned.TransientOrderEvent
public class TransientOrderEvent
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 FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
TYPE
|
Constructor Summary | |
---|---|
TransientOrderEvent()
|
|
TransientOrderEvent(RepositoryItem pProfile,
java.lang.String pOrderId,
double pAmount,
java.lang.String pCurrencyCode,
int pSubmitted)
|
Method Summary | |
---|---|
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. |
Methods inherited from class atg.commerce.messaging.CommerceMessageImpl |
---|
appendBaseToString, getId, getOriginalId, getOriginalSource, getOriginalUserId, getParentSessionId, getSessionId, getSiteId, getSource, getUserId, setId, setOriginalId, setOriginalSource, setOriginalUserId, setParentSessionId, setSessionId, setSiteId, setSource, setUserId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
Constructor Detail |
---|
public TransientOrderEvent()
public TransientOrderEvent(RepositoryItem pProfile, java.lang.String pOrderId, double pAmount, java.lang.String pCurrencyCode, int pSubmitted)
Method Detail |
---|
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()
CommerceMessageImpl
getType
in interface CommerceMessage
getType
in class CommerceMessageImpl
public RepositoryItem getSubject()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |