|
|||||||||
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.pricing.PromotionClosenessMessage
public class PromotionClosenessMessage
This class is the base for two types of JMS messages: - A PromotionClosenessQualificationEvent indicates that an order has met a closenessQualification of a given promotion. - A PromotionClosenessDisqualificationEvent inidicates that an order that previously met a closenessQualification of a given promotion now fails to do so.
Properties:
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
PromotionClosenessMessage()
|
Method Summary | |
---|---|
RepositoryItem |
getClosenessQualifier()
|
Order |
getOrder()
|
RepositoryItem |
getProfile()
|
java.lang.String |
getType()
return the TYPE of the message |
void |
setClosenessQualifier(RepositoryItem pClosenessQualifier)
Sets the closeness condition that the order qualifies under (or fails to qualify under). |
void |
setOrder(Order pOrder)
Sets the order that is close to qualifying for the promotion (or that is no longer close to qualifying). |
void |
setProfile(RepositoryItem pProfile)
Sets the profile of the owner of the order |
void |
setType(java.lang.String pType)
Sets the JMS type of this message |
java.lang.String |
toString()
|
Methods inherited from class atg.commerce.messaging.CommerceMessageImpl |
---|
appendBaseToString, getId, getOriginalId, getOriginalSource, getOriginalUserId, getParentSessionId, getSessionId, getSource, getUserId, setId, setOriginalId, setOriginalSource, setOriginalUserId, setParentSessionId, setSessionId, 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 PromotionClosenessMessage()
Method Detail |
---|
public void setClosenessQualifier(RepositoryItem pClosenessQualifier)
pClosenessQualifier
- the closeness condition that the order qualifies
under (or fails to qualify under).public RepositoryItem getClosenessQualifier()
public void setOrder(Order pOrder)
pOrder
- the order that is close to qualifying for the promotion (or that
is no longer close to qualifying).public Order getOrder()
public void setProfile(RepositoryItem pProfile)
pProfile
- the profile of the owner of the orderpublic RepositoryItem getProfile()
public void setType(java.lang.String pType)
pType
- the JMS type of this messagepublic 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 |