An amount of money, including units in the form of currency.

Export

Money

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

Properties

amount?: string

A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
Pattern : ^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$.

Memberof

Money

currencyCode?: string

Three-digit currency code in ISO 4217 format.

Memberof

Money