Table of Contents

Class PaymentMethodDTO

Namespace
NuvTools.Payment.DTOs
Assembly
NuvTools.Payment.dll

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

PaymentMethodId string

The provider's identifier for it.

Brand string

The card network, when the method is a card.

Last4 string

The 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

string

Last4

The last four digits, which is as much as anyone needs to recognise it.

public string? Last4 { get; init; }

Property Value

string

PaymentMethodId

The provider's identifier for it.

public string PaymentMethodId { get; init; }

Property Value

string