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 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 of OrderCancelResponse
        Throws:
        OrderCancelException - in the case of any error during the order cancellation