The messages described in this section are used by the Core Commerce promotions features. For additional information on how these messages are used, see the Guide to Setting Up a Store.
atg.commerce.promotion.ScenarioAddedItemToOrder
The ScenarioAddedItemToOrder message is sent out when a scenario is used to add an item to the shopping cart.
Base type: ItemAddedToOrder
JMS type: atg.commerce.promotion.ScenarioAddedItemToOrder
Source
The AddItemToOrder scenario action.
Properties
idordercatalogRefproductcommerceItemquantityamounttypesiteId
atg.commerce.promotion.PromotionUsed
The PromotionUsed message is sent out when a promotion is used by an order that was submitted.
Base type: CommerceMessageImpl
JMS type: atg.commerce.promotion.PromotionUsed
Source
The ProcSendPromotionUsedMessage processor, which is part of the processOrder pipeline chain.
Properties
orderoriginalIdoriginalSourceparentSessionIdprofilepromotionsessionIdsourceIdsiteIdtypeuserId
atg.commerce.promotion.PromotionGrantedMessage
The PromotionGranted message is sent out when a promotion is granted to a user.
Base type: CommerceMessageImpl
JMS type: atg.commerce.promotion.PromotionGranted
Source
PromotionTools.sendPromotionGrantedEvent is called by PromotionTools.addPromotion which is called by anyone adding a promotion to the profile.
Properties
originaIdoriginalSourceparentSessionIdprofilepromotionIdsessionIdsourceIdsiteIdtypeuserId
atg.commerce.promotion.PromotionRevokedMessage
A PromotionRevoked message is sent out when a promotion is revoked from a user.
Base type: CommerceMessageImpl
JMS type: atg.commerce.promotion.PromotionRevoked
Source
The source for the PromotionRevokedMessage is PromotionTools.sendPromotionRevokedEvent, which is called by PromotionTools.revokePromotion, which is called by anyone removing a promotion from the profile.
Properties
originalIdoriginalSourceparentSessionIdprofilepromotionIdsessionIdsiteIdsourceIdtypeuserId
atg.commerce.pricing.PromotionClosenessMessage
A PromotionClosenessMessage is sent when an order meets a given promotion’s closenessQualification, and when an order that previously met a closenessQualification now fails to do so.
Base type: CommerceMessageImpl
JMS type: varies
atg.commerce.promotion.PromotionClosenessQualificationEventatg.commerce.promotion.PromotionClosenessDisqualificationEvent
Source
PricingTools
Properties
closenessQualifierorderoriginalIdoriginaSourceparentSessionIdprofilesessionIdsiteIdsourceIdtypeuserId

