An amount of money. Includes the currency code and an optional unit of measure for items priced by weight.

Money

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

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+)?$.

Money

currencyCode?: string

Three digit currency code in ISO 4217 format. String of length 3.

Money

unitOfMeasure?: MoneyUnitOfMeasureEnum

The unit of measure for prices of items sold by weight. If this field is absent, the item is sold by eaches.

Money