The messages described in this section are used during order-related changes.
atg.commerce.gifts.GiftPurchased
The GiftPurchased message is sent out when a gift is purchased off of a gift list.
Base type: CommerceMessageImpl
JMS type: atg.commerce.gifts.GiftPurchased
Source
The ProcSendGiftPurchasedMessage processor is part of the processOrder pipeline chain.
Properties
- item
- order
- originalId
- originalSource
- parentSessionId
- profile
- sessionId
- siteId
- sourceId
- type
- userId
atg.commerce.inventory.InventoryThresholdReached
The InventoryThresholdReached message is sent out when the inventory for a particular item dips below some threshold.
JMS type: atg.commerce.inventory.InventoryThresholdReached
Source
The RepositoryInventoryManager sends this message whenever an inventory level is decremented below its corresponding threshold.
Properties
- type
- id
- inventoryId
- levelPropertyName
- thresholdPropertyName
- currentValue
- thresholdValue
atg.commerce.order.ItemAddedToOrder
The ItemAddedToOrder message is sent out when an item was added to an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemAddedToOrder
Source
CartModifiedFormHandler and web services.
Properties
- id
- order
- catalogRef
- product
- commerceItem
- quantity
- amount
- type
- siteId
atg.commerce.order.ItemRemovedFromOrder
The ItemRemovedFromOrder message is sent out when an item is removed from an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemRemovedFromOrder
Source
CartModifiedFormHandler and web services.
Properties
- order
- catalogRef
- product
- commerceItem
- quantity
- amount
- type
- siteId
atg.commerce.order.OrdersMerged
An OrdersMerged message is sent whenever orders are merged.
Base type: ScenarioEvent
JMS type: atg.commerce.order.OrdersMerged
Source
OrdersMerged is sent from OrderManager.mergeOrders, which is called by CommerceProfileTools.loadShoppingCarts when a transient order in the session is merged with a saved order on the profile.
Properties
- siteId
- sourceOrder
- destinationOrder
- sourceRemoved(boolean)
atg.commerce.order.ItemQuantityChanged
The ItemQuantityChanged message is sent out when the quantity of an item changes in an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemQuantityChanged
Source
CartModifierFormHandler
Properties
- id
- order
- catalogRef
- product
- commerceItem
- oldQuantity
- newQuantity
- type
- siteId
atg.commerce.order.scheduled.ScheduledOrderMessage
The ScheduledOrderMessage is sent for any action on a scheduled order. You can tell what the action was by looking at the messages action property which is of type ScheduledOrderAction (Enum).
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.scheduled.ScheduledOrderMessage
Actions
- Created
- Updated
- Deleted
- Submited *- This action is spelled “submited.” 
Source
ScheduledOrderTools sends messages for all four actions.
Properties
- action
- originalId
- originalSource
- parentSessionId
- profile
- scheduledOrder
- sessionId
- siteId
- sourceId
- type
- userId
atg.commerce.order.SwitchOrder
The ShoppingCart can contain multiple saved orders; the current property indicates which order is the current order. The SwitchOrder message is sent when the user changes which order is the current order.
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.SwitchOrder
Source
The shopping cart.
Properties
- oldOrder
- order
- originalId
- originalSource
- parenSessionId
- sessionId
- sourceId
- siteId
- type
- userId
atg.commerce.order.OrderSaved
The OrderSaved message is sent when order has been saved by the user and is moved to their list of saved orders (this is not the same as saving an order into the repository).
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.OrderSaved
Source
SaveOrderFormHandler
Properties
- order
- originalId
- originalSource
- parentSessionId
- sessionId
- siteId
- sourceId
- type
- userId
atg.commerce.pricing.PriceChanged
The PriceChanged message is sent when the price of an order changes.
JMS type: atg.commerce.pricing.PriceChanged
Source
PricingTools, whenever it is used to price an order total or an order subtotal.
Properties
- id
- type
- priceChangeType
- profile
- order
- repricedObject
- oldPrice
- newPrice

