The confirmReturnRequest
pipeline chain completes the return creation process. The pipeline chain’s transaction mode is TX_REQUIRED.
The following section describes the processor in the pipeline chain.
validateRefundTotal
This processor validates the refund total.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
removeUnallocatedRefundMethods
This processor removes any RefundMethods
that have refund allocation.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
validateRefundMethodAllocations
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 |
|
Object |
|
Transitions | If the processor returns 1, call the |
updateStateOfReturnItems
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
updateReturnRequestState
This process updates the state of the ReturnRequest
based upon the state of the ReturnItems
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
returnCommerceItems
This process marks the commerceItems
as returned.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
prepareReplacementOrderToSubmit
This process runs a pre-submit pipeline on the replacement order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
settleReturnRequestOnConfirm
This process conditionally settles the return by either setting the processImmediately
flag, or finding that none of the ReturnItems
require return shipment.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
saveReturnRequest
This process saves the ReturnRequest
in the repository.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
sendReturnSubmittedEvent
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None, this is the last link in the chain and will cause the |