also from csproj files excluded direct specification of runtime to make compile happy if on a system we have higher version.
21 lines
613 B
C#
21 lines
613 B
C#
using MediatR;
|
|
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.BuyerAggregate;
|
|
|
|
namespace Ordering.Domain.Events
|
|
{
|
|
public class BuyerAndPaymentMethodVerifiedDomainEvent
|
|
: INotification
|
|
{
|
|
public Buyer Buyer { get; private set; }
|
|
public PaymentMethod Payment { get; private set; }
|
|
public int OrderId { get; private set; }
|
|
|
|
public BuyerAndPaymentMethodVerifiedDomainEvent(Buyer buyer, PaymentMethod payment, int orderId)
|
|
{
|
|
Buyer = buyer;
|
|
Payment = payment;
|
|
OrderId = orderId;
|
|
}
|
|
}
|
|
}
|