Package de.hybris.platform.ordercancel
Interface OrderCancelCallbackService
-
- All Known Implementing Classes:
DefaultOrderCancelService
,MockOrderCancelService
,SapOmsOrderCancelCallbackService
public interface OrderCancelCallbackService
This interface is used by Warehouse adapter to provide feedback information about execution of cancel request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onOrderCancelResponse(OrderCancelResponse cancelResponse)
Callback method used by the Warehouse adapter to pass cancel operation result.
-
-
-
Method Detail
-
onOrderCancelResponse
void onOrderCancelResponse(OrderCancelResponse cancelResponse) throws OrderCancelException
Callback method used by the Warehouse adapter to pass cancel operation result. Warehouse adapter uses this method to provide feedback information how was the Order canceled (completely, partially, not at all).- Parameters:
cancelResponse
- instance ofOrderCancelResponse
- Throws:
OrderCancelException
- in the case of any error during the order cancellation
-
-