src/Services/Basket/Basket.API/IntegrationEvents/Events/UserCheckoutAcceptedIntegrationEvent.cs

(完整代码) 1KB

namespace Basket.API.IntegrationEvents.Events;

public record UserCheckoutAcceptedIntegrationEvent : IntegrationEvent
{
    public string UserId { get; }

    public string UserName { get; }

    public int OrderNumber { get; init; }

    public string City { get; init; }

    public string Street { get; init; }

    public string State { get; init; }

    public string Country { get; init; }

    public string ZipCode { get; init; }

    public string CardNumber { get; init; }

    public string CardHolderName { get; init; }

    public DateTime CardExpiration { get; init; }

    public string CardSecurityNumber { get; init; }

    public int CardTypeId { get; init; }

    public string Buyer { get; init; }

    public Guid RequestId { get; init; }

    public CustomerBasket Basket { get; }

    public UserCheckoutAcceptedIntegrationEvent(string userId, string userName, string city, string street,
        string state, string country, string zipCode, string cardNumber, string cardHolderName,
        DateTime cardExpiration, string cardSecurityNumber, int cardTypeId, string buyer, Guid requestId,
        CustomerBasket basket)
    {
        UserId = userId;
        UserName = userName;
        City = city;
        Street = street;
        State = state;
        Country = country;
        ZipCode = zipCode;
        CardNumber = cardNumber;
        CardHolderName = cardHolderName;
        CardExpiration = cardExpiration;
        CardSecurityNumber = cardSecurityNumber;
        CardTypeId = cardTypeId;
        Buyer = buyer;
        Basket = basket;
        RequestId = requestId;
    }

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。