The performIdTargetModification
chain is triggered by a ModifyOrder
message that includes a modification of type IdTargetModification
.
The following sections describe each processor in the pipeline chain.
handleModificationTargetType
This processor determines which processor to pass control to by looking at the TargetType
property of the IdTargetModification
. If the TargetType
is TARGET_ORDER, then control passes to performOrderModificationChain
. If the TargetType
is TARGET_SHIPPING_GROUP, control passes to performShippingGroupModification
. If the TargetType
is TARGET_ITEM, control passes to performItemModification
. If TargetType
is TARGET_RELATIONSHIP, control passes to performRelationshipModification
. If TargetType
is none of the above types, control passes to modificationNotSupported1
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
performOrderModificationChain
This processor executes the performOrderModification
chain. After execution, the execution of this chain stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
performShippingGroupModification
Determines the appropriate fulfiller for the shipping group of the modification, and sends a ModifyOrder
message to that fulfiller. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
performItemModification
Item modifications are not currently supported, so this processor sets the status of the particular modification to STATUS_FAILED and adds the modification to the list to be sent back in a ModifyOrderNotification
message. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
performRelationshipModification
Determines the appropriate fulfiller for the shipping group involved in the ShippingGroupCommerceItem
relationship the modification is requested for, and sends a ModifyOrder
message to that fulfiller. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
modificationNotSupported1
Sets the status of the particular modification to STATUS_FAILED and adds the modification to the list to be sent back in a ModifyOrderNotification
message. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |