The currency type and amount.

Money

interface Money {
    amount: string;
    currencyCode: string;
}

Properties

Properties

amount: string

A decimal number with no loss of precision. Useful when precision loss is unnaceptable, as with currencies. Follows RFC7159 for number representation.

Money

currencyCode: string

Three-digit currency code in ISO 4217 format.

Money