23 lines
678 B
C#
23 lines
678 B
C#
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ordering.SignalrHub.IntegrationEvents.Events
|
|
{
|
|
public class OrderStatusChangedToCancelledIntegrationEvent : IntegrationEvent
|
|
{
|
|
public int OrderId { get; }
|
|
public string OrderStatus { get; }
|
|
public string BuyerName { get; }
|
|
|
|
public OrderStatusChangedToCancelledIntegrationEvent(int orderId, string orderStatus, string buyerName)
|
|
{
|
|
OrderId = orderId;
|
|
OrderStatus = orderStatus;
|
|
BuyerName = buyerName;
|
|
}
|
|
}
|
|
}
|