Skip to content

IOrderNotificationService

Interface public
A service that publishes notifications for key order lifecycle events.
Namespace SampleApi
Assembly SampleApi
Package v1.0.0.0
public interface IOrderNotificationService
Consumers 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.
NotifyOrderCancelled Section titled NotifyOrderCancelled abstract
void IOrderNotificationService.NotifyOrderCancelled(
Order order)

Publishes a notification that the specified order was cancelled.

order Order
The order that was cancelled.
NotifyOrderPlaced Section titled NotifyOrderPlaced abstract
void IOrderNotificationService.NotifyOrderPlaced(
Order order)

Publishes a notification that the specified order was placed.

order Order
The order that was placed.
NotifyOrderShipped Section titled NotifyOrderShipped abstract
void IOrderNotificationService.NotifyOrderShipped(
Order order)

Publishes a notification that the specified order was shipped.

order Order
The order that was shipped.
OrderCancelled Section titled OrderCancelled abstract
EventHandler<OrderEventArgs>
event EventHandler<OrderEventArgs> IOrderNotificationService.OrderCancelled

Occurs when an order has been cancelled.

OrderDelivered Section titled OrderDelivered abstract
EventHandler<OrderEventArgs>
event EventHandler<OrderEventArgs> IOrderNotificationService.OrderDelivered

Occurs when an order has been delivered.

OrderPlaced Section titled OrderPlaced abstract
EventHandler<OrderEventArgs>
event EventHandler<OrderEventArgs> IOrderNotificationService.OrderPlaced

Occurs when a new order has been placed.

OrderShipped Section titled OrderShipped abstract
EventHandler<OrderEventArgs>
event EventHandler<OrderEventArgs> IOrderNotificationService.OrderShipped

Occurs when an order has been shipped.