The recalcPaymentGroupAmounts pipeline chain regenerates the amount that must be assigned to each PaymentGroup in the Order. The recalcPaymentGroupAmounts pipeline chain is executed by the recalculatePaymentGroupAmounts method in the OrderManager. The recalculatePaymentGroupAmounts method adds the given Order and OrderManager to its parameter list, which is supplied to the executing chain. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

setPaymentGroupAmount2

This processor sets the amount property of each PaymentGroup in the Order based on the Relationships in each PaymentGroup. This amount is the amount that will ultimately be debited by the PaymentManager.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/SetPaymentGroupAmount

Object

atg.commerce.order.processor.ProcSetPaymentGroupAmount

Transitions

None, this is the last link in the chain and will cause the PipelineManager to return to the caller.


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