PaymentCurrencyAmount Class

A monetary amount (https://w3c.github.io/payment-request/#paymentcurrencyamount-dictionary).

public sealed class PaymentCurrencyAmount

Constructors

NameDescription
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

NameDescription
CurrencyGets the well-formed 3-letter alphabetic currency code (e.g. USD); the payment request uses its upper case form.
ValueGets the amount: a valid decimal monetary value (e.g. -1.50), as is.

Gets 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; }

Gets the amount: a valid decimal monetary value (e.g. -1.50), as is.

public required string Value { get; init; }