Class PaymentPriceDTO
One price as the provider holds it.
public record PaymentPriceDTO : IEquatable<PaymentPriceDTO>
- Inheritance
-
PaymentPriceDTO
- Implements
- Inherited Members
Constructors
PaymentPriceDTO(string, long?, string, string?, int?)
One price as the provider holds it.
public PaymentPriceDTO(string LookupKey, long? AmountMinor, string CurrencyCode, string? Interval, int? IntervalCount)
Parameters
LookupKeystringThe lookup key it was found by.
AmountMinorlong?What one unit costs, in the currency's minor units, or null when the price is not a fixed amount (tiered or metered), which a caller shows as "on request" rather than as zero.
CurrencyCodestringISO 4217, upper case.
IntervalstringHow often a recurring price charges —
month,year— or null for a one-off price.IntervalCountint?How many intervals between charges — 3 with
monthis quarterly.
Properties
AmountMinor
What one unit costs, in the currency's minor units, or null when the price is not a fixed amount (tiered or metered), which a caller shows as "on request" rather than as zero.
public long? AmountMinor { get; init; }
Property Value
- long?
CurrencyCode
ISO 4217, upper case.
public string CurrencyCode { get; init; }
Property Value
Interval
How often a recurring price charges — month, year — or null for a
one-off price.
public string? Interval { get; init; }
Property Value
IntervalCount
How many intervals between charges — 3 with month is quarterly.
public int? IntervalCount { get; init; }
Property Value
- int?
LookupKey
The lookup key it was found by.
public string LookupKey { get; init; }