The completeRemoveOrder chain is executed when called by the updateShippingGroup chain.

The following sections describe each processor in the pipeline chain.

creditOrder

Iterates through the payment groups in the order, and checks to see if each state is SETTLED. If it is, it calls the credit method of the PaymentGroupManager with that payment group, then sets the status of the payment group to INITIAL. If the payment group is not SETTLED, it checks to see if the payment group represents a gift certificate, and if so, calls the expireGiftCertificateAuthorization method of the PaymentGroupManager to credit the gift certificate.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/CreditOrder

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the creditPayment processor.

creditPayment

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/CreditPayment

Object

atg.commerce.pricing.processor.ProcCreditPayment

Transitions

Return value of 1 executes the finishRemoveOrder processor.

finishRemoveOrder

Iterates through all commerce items and payment groups contained in the order, and sets their states to REMOVED. Also sets the order’s state to REMOVED.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/FinishRemoveOrder

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.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices