Class PaymentMethodDTO
A payment method as a screen shows it — never the number.
public record PaymentMethodDTO : IEquatable<PaymentMethodDTO>
- Inheritance
-
PaymentMethodDTO
- Implements
- Inherited Members
Constructors
PaymentMethodDTO(string, string?, string?)
A payment method as a screen shows it — never the number.
public PaymentMethodDTO(string PaymentMethodId, string? Brand, string? Last4)
Parameters
PaymentMethodIdstringThe provider's identifier for it.
BrandstringThe card network, when the method is a card.
Last4stringThe last four digits, which is as much as anyone needs to recognise it.
Properties
Brand
The card network, when the method is a card.
public string? Brand { get; init; }
Property Value
Last4
The last four digits, which is as much as anyone needs to recognise it.
public string? Last4 { get; init; }
Property Value
PaymentMethodId
The provider's identifier for it.
public string PaymentMethodId { get; init; }