Package de.hybris.platform.returns
Interface ReturnCallbackService
- All Known Implementing Classes:
DefaultReturnService,WarehousingReturnService
public interface ReturnCallbackService
This interface is used by adapter to provide feedback information about execution of actions on a return request.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonReturnApprovalResponse(ReturnActionResponse approvalResponse) Callback method used by the adapter to pass approval operation result.voidonReturnCancelResponse(ReturnActionResponse cancelResponse) Callback method used by the adapter to pass cancellation operation result.voidonReturnReceptionResponse(ReturnActionResponse receptionResponse) Callback method used by the adapter to pass reception operation result.
-
Method Details
-
onReturnApprovalResponse
Callback method used by the adapter to pass approval operation result. Adapter uses this method to provide feedback information how was the ReturnRequest approved (completely, partially, not at all).- Parameters:
approvalResponse- - instance ofReturnActionResponse- Throws:
OrderReturnException- in case of error
-
onReturnCancelResponse
Callback method used by the adapter to pass cancellation operation result. Adapter uses this method to provide feedback information how was the ReturnRequest cancelled (completely, partially, not at all).- Parameters:
cancelResponse- - instance ofReturnActionResponse- Throws:
OrderReturnException- in case of error
-
onReturnReceptionResponse
Callback method used by the adapter to pass reception operation result. Adapter uses this method to provide feedback information how was the ReturnRequest received (completely, partially, not at all).- Parameters:
receptionResponse- - instance ofReturnActionResponse- Throws:
OrderReturnException- in case of error
-