Interface OrderReceiver

All Superinterfaces:
OsidReceiver

public interface OrderReceiver extends OsidReceiver

The order receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted orders.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedOrders(Id notificationId, IdList orderIds)
    The callback for notifications of updated orders including new or deleted items.
    void
    deletedOrders(Id notificationId, IdList orderIds)
    the callback for notification of deleted orders.
    void
    newOrders(Id notificationId, IdList orderIds)
    The callback for notifications of new orders.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newOrders

      void newOrders(Id notificationId, IdList orderIds)
      The callback for notifications of new orders.
      Parameters:
      notificationId - the notification Id
      orderIds - the Ids of the new orders
      Compliance:
      mandatory - This method must be implemented.
    • changedOrders

      void changedOrders(Id notificationId, IdList orderIds)
      The callback for notifications of updated orders including new or deleted items.
      Parameters:
      notificationId - the notification Id
      orderIds - the Ids of the updated orders
      Compliance:
      mandatory - This method must be implemented.
    • deletedOrders

      void deletedOrders(Id notificationId, IdList orderIds)
      the callback for notification of deleted orders.
      Parameters:
      notificationId - the notification Id
      orderIds - the Ids of the deleted orders
      Compliance:
      mandatory - This method must be implemented.