The messages described in this section are used by the Oracle ATG Web Commerce promotions features. For additional information on how these messages are used, see the ATG Commerce 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
id
order
catalogRef
product
commerceItem
quantity
amount
type
siteId
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
order
originalId
originalSource
parentSessionId
profile
promotion
sessionId
sourceId
siteId
type
userId
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
originaId
originalSource
parentSessionId
profile
promotionId
sessionId
sourceId
siteId
type
userId
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
originalId
originalSource
parentSessionId
profile
promotionId
sessionId
siteId
sourceId
type
userId
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.PromotionClosenessQualificationEvent
atg.commerce.promotion.PromotionClosenessDisqualificationEvent
Source
PricingTools
Properties
closenessQualifier
order
originalId
originaSource
parentSessionId
profile
sessionId
siteId
sourceId
type
userId