The applyRefundAllocations pipeline chain applies the RefundMethod allocations. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

validateRefundTotalOnApply

This processor validates that the refund total is greater than 0.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/ValidateRefundTotal

Object

atg.commerce.csr.returns.processor.
  ProcValidateRefundForReturnOrExchange

Transitions

If the processor returns 1, call the validateRefundMethodAllocationsOnApply processor.

validateRefundMethodAllocationsOnApply

This processor validates that the current refund is greater than 0 and that the RefundMethod allocations equal the refund amount and do not exceed the maximum amount allotted for each RefundMethod.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  ValidateRefundMethodAllocations

Object

atg.commerce.csr.returns.processor.
  ProcValidateRefundMethodAllocations

Transitions

If the processor returns 1, call the updateStoreCreditAllocations processor.

updateStoreCreditAllocations

This processor updates the refund store credits based on their RefundMethod allocations.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  UpdateStoreCreditAllocations

Object

atg.commerce.csr.returns.processor.
  ProcUpdateStoreCreditAllocations

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