eShopOnContainers/src/Services/Coupon/Coupon.API/IntegrationEvents/Events/OrderStatusChangedToCancelledIntegrationEvent.cs

21 lines
565 B
C#
Raw Normal View History

2023-01-04 14:56:13 +04:00
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using Newtonsoft.Json;
namespace Coupon.API.IntegrationEvents.Events
{
public record OrderStatusChangedToCancelledIntegrationEvent : IntegrationEvent
{
[JsonProperty]
public int OrderId { get; private set; }
[JsonProperty]
public string OrderStatus { get; private set; }
[JsonProperty]
public string BuyerName { get; private set; }
[JsonProperty]
public string DiscountCode { get; private set; }
}
}