Class PaymentRefundDTO
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
RefundIdstringThe provider's identifier, and what its webhooks name later — so it is what a caller stores to recognise the settlement when it arrives.
AmountMinorlongHow much was given back, in the currency's minor units.
CurrencyCodestringISO 4217, upper case.
StatusPaymentStatusTypeWhat became of it.
Properties
AmountMinor
How much was given back, in the currency's minor units.
public long AmountMinor { get; init; }
Property Value
CurrencyCode
ISO 4217, upper case.
public string CurrencyCode { get; init; }
Property Value
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
Status
What became of it.
public PaymentStatusType Status { get; init; }
Property Value
Succeeded
The only status that means the money went back.
public bool Succeeded { get; }