IOrderNotificationService
Interface public
A service that publishes notifications for key order lifecycle events.
Definition
Section titled Definitionpublic interface IOrderNotificationServiceRemarks
Section titled RemarksConsumers subscribe to the events exposed by this interface to react to order state transitions. Implementations are responsible for raising events at the appropriate points in the order processing pipeline.
Methods3
Section titled Methodsvoid IOrderNotificationService.NotifyOrderCancelled( Order order)Publishes a notification that the specified order was cancelled.
Parameters
order Order The order that was cancelled.
void IOrderNotificationService.NotifyOrderPlaced( Order order)Publishes a notification that the specified order was placed.
Parameters
order Order The order that was placed.
void IOrderNotificationService.NotifyOrderShipped( Order order)Publishes a notification that the specified order was shipped.
Parameters
order Order The order that was shipped.
Events4
Section titled EventsEventHandler<OrderEventArgs> event EventHandler<OrderEventArgs> IOrderNotificationService.OrderCancelledOccurs when an order has been cancelled.
EventHandler<OrderEventArgs> event EventHandler<OrderEventArgs> IOrderNotificationService.OrderDeliveredOccurs when an order has been delivered.
EventHandler<OrderEventArgs> event EventHandler<OrderEventArgs> IOrderNotificationService.OrderPlacedOccurs when a new order has been placed.
EventHandler<OrderEventArgs> event EventHandler<OrderEventArgs> IOrderNotificationService.OrderShippedOccurs when an order has been shipped.