|
|||||||||
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.OrderAbandoned
public class OrderAbandoned
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 FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
OrderAbandoned()
|
Method Summary | |
---|---|
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. |
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
Constructor Detail |
---|
public OrderAbandoned()
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 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()
CommerceMessageImpl
getType
in interface CommerceMessage
getType
in class CommerceMessageImpl
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 |