The updateShippingGroup
chain is executed when called by the handleShippingGroupModification
chain.
The following sections describe each processor in the pipeline chain.
handleShippingGroupState
Checks the newValue
property of the modification to determine what state the modification is requesting that the shipping group be set to. If the value is REMOVED, control passes to completeRemoveOrderChain
. If the value is NO_PENDING_ACTION, control passes to completeOrderChain
. If the value is PENDING_MERCHANT_ACTION, control passes to failOrder
. If the value is anything else then execution of this chain stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/HandleShippingGroupState
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: Return value of 1 executes the completeRemoveOrderChain processor. Return value of 2 executes the completeOrderChain processor. Return value of 3 executes the failOrder processor.
completeRemoveOrderChain
This processor executes the completeRemoveOrder
chain. After execution, execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/CompleteRemoveOrderChain
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: None. This is the last link in the chain and causes the PipelineManager
to return to the caller.
completeOrderChain
This processor executes the completeOrder
chain. After execution, execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/CompleteOrderChain
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: None. This is the last link in the chain and causes the PipelineManager
to return to the caller.
failOrder
Sets the state of the order to PENDING_MERCHANT_ACTION, and adds this modification to the list of modifications.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/FailOrder
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: None. This is the last link in the chain and causes the PipelineManager
to return to the caller.