-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBasketCheckoutEvent.cs
25 lines (23 loc) · 1.02 KB
/
BasketCheckoutEvent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace BuildingBlocks.Messaging.Events
{
public record BasketCheckoutEvent : IntegrationEvent
{
public string UserName { get; set; } = default!;
public Guid CustomerId { get; set; } = default!;
public decimal TotalPrice { get; set; } = default!;
// Shipping and BillingAddress
public string FirstName { get; set; } = default!;
public string LastName { get; set; } = default!;
public string EmailAddress { get; set; } = default!;
public string AddressLine { get; set; } = default!;
public string Country { get; set; } = default!;
public string State { get; set; } = default!;
public string ZipCode { get; set; } = default!;
// Payment
public string CardName { get; set; } = default!;
public string CardNumber { get; set; } = default!;
public string Expiration { get; set; } = default!;
public string CVV { get; set; } = default!;
public int PaymentMethod { get; set; } = default!;
}
}