Newer
Older
GuardClauses / src / ApplicationCore / Entities / BuyerAggregate / PaymentMethod.cs
@Derek Comartin Derek Comartin on 15 Aug 2022 331 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; }
}