Table of Contents

Class PaymentRefundDTO

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

One refund's outcome.

public record PaymentRefundDTO : IEquatable<PaymentRefundDTO>
Inheritance
PaymentRefundDTO
Implements
Inherited Members

Constructors

PaymentRefundDTO(string, long, string, PaymentStatusType)

One refund's outcome.

public PaymentRefundDTO(string RefundId, long AmountMinor, string CurrencyCode, PaymentStatusType Status)

Parameters

RefundId string

The provider's identifier, and what its webhooks name later — so it is what a caller stores to recognise the settlement when it arrives.

AmountMinor long

How much was given back, in the currency's minor units.

CurrencyCode string

ISO 4217, upper case.

Status PaymentStatusType

What became of it.

Properties

AmountMinor

How much was given back, in the currency's minor units.

public long AmountMinor { get; init; }

Property Value

long

CurrencyCode

ISO 4217, upper case.

public string CurrencyCode { get; init; }

Property Value

string

RefundId

The provider's identifier, and what its webhooks name later — so it is what a caller stores to recognise the settlement when it arrives.

public string RefundId { get; init; }

Property Value

string

Status

What became of it.

public PaymentStatusType Status { get; init; }

Property Value

PaymentStatusType

Succeeded

The only status that means the money went back.

public bool Succeeded { get; }

Property Value

bool