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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReturnApprovalResponse(ReturnActionResponse approvalResponse)
Callback method used by the adapter to pass approval operation result.void
onReturnCancelResponse(ReturnActionResponse cancelResponse)
Callback method used by the adapter to pass cancellation operation result.void
onReturnReceptionResponse(ReturnActionResponse receptionResponse)
Callback method used by the adapter to pass reception operation result.
-
-
-
Method Detail
-
onReturnApprovalResponse
void onReturnApprovalResponse(ReturnActionResponse approvalResponse) throws OrderReturnException
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
void onReturnCancelResponse(ReturnActionResponse cancelResponse) throws OrderReturnException
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
void onReturnReceptionResponse(ReturnActionResponse receptionResponse) throws OrderReturnException
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
-
-