zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Events/Buyers/BuyerAndPaymentMethodVerifiedDomainEvent.cs

15 lines
475 B
C#
Raw Permalink Normal View History

2023-12-05 09:22:48 +00:00
using MediatR;
using ZeroFramework.DeviceCenter.Domain.Aggregates.BuyerAggregate;
namespace ZeroFramework.DeviceCenter.Domain.Events.Buyers
{
public class BuyerAndPaymentMethodVerifiedDomainEvent(Buyer buyer, PaymentMethod payment, Guid orderId) : INotification
{
public Buyer Buyer { get; private set; } = buyer;
public PaymentMethod Payment { get; private set; } = payment;
public Guid OrderId { get; private set; } = orderId;
}
}