PaymentCurrencyAmount Class
A monetary amount (https://w3c.github.io/payment-request/#paymentcurrencyamount-dictionary).
public sealed class PaymentCurrencyAmountConstructors
| Name | Description |
|---|---|
| PaymentCurrencyAmount() |
PaymentCurrencyAmount()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PaymentCurrencyAmount()No documentation is available.
Properties
| Name | Description |
|---|---|
| Currency | Gets the well-formed 3-letter alphabetic currency code (e.g. USD); the payment request uses its upper case form. |
| Value | Gets the amount: a valid decimal monetary value (e.g. -1.50), as is. |
Currency
PaymentDictionaries.csGets the well-formed 3-letter alphabetic currency code (e.g. USD); the payment request uses its upper case form.
public required string Currency { get; init; }Property value
See also
Gets the amount: a valid decimal monetary value (e.g. -1.50), as is.
public required string Value { get; init; }