2018-04-19 00:58:09 +02:00
|
|
|
|
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
|
|
|
|
|
|
|
|
|
namespace Ordering.SignalrHub.IntegrationEvents.Events
|
|
|
|
|
{
|
2020-12-23 10:19:38 +01:00
|
|
|
|
public record OrderStatusChangedToShippedIntegrationEvent : IntegrationEvent
|
2018-04-19 00:58:09 +02:00
|
|
|
|
{
|
|
|
|
|
public int OrderId { get; }
|
|
|
|
|
public string OrderStatus { get; }
|
|
|
|
|
public string BuyerName { get; }
|
|
|
|
|
|
|
|
|
|
public OrderStatusChangedToShippedIntegrationEvent(int orderId, string orderStatus, string buyerName)
|
|
|
|
|
{
|
|
|
|
|
OrderId = orderId;
|
|
|
|
|
OrderStatus = orderStatus;
|
|
|
|
|
BuyerName = buyerName;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|