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 Type
    Method
    Description
    void
    Callback method used by the Warehouse adapter to pass cancel operation result.
  • Method Details

    • 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