Package de.hybris.platform.ordercancel
Interface OrderCancelCallbackService
- All Known Implementing Classes:
DefaultOrderCancelService
public interface OrderCancelCallbackService
This interface is used by Warehouse adapter to provide feedback information about execution of cancel request.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonOrderCancelResponse(OrderCancelResponse cancelResponse) Callback method used by the Warehouse adapter to pass cancel operation result.
-
Method Details
-
onOrderCancelResponse
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
-