Newer
Older
InMemoryBus / src / ApplicationCore / Entities / BuyerAggregate / PaymentMethod.cs
@Derek Comartin Derek Comartin on 17 Jan 2023 334 bytes Init
namespace Microsoft.eShopWeb.ApplicationCore.Entities.BuyerAggregate;

public class PaymentMethod : BaseEntity
{
    public string? Alias { get; private set; }
    public string? CardId { get; private set; } // actual card data must be stored in a PCI compliant system, like Stripe
    public string? Last4 { get; private set; }
}