22 lines
576 B
C#
22 lines
576 B
C#
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
|
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Basket.API.IntegrationEvents.Events
|
|
{
|
|
public class UserCheckoutAccepted : IntegrationEvent
|
|
{
|
|
public string UserId {get; }
|
|
CustomerBasket Basket { get; }
|
|
public UserCheckoutAccepted(string userId, CustomerBasket basket)
|
|
{
|
|
UserId = userId;
|
|
Basket = basket;
|
|
}
|
|
|
|
}
|
|
}
|