Magidoc

Money
Object

A Money object.

Fields

#

amount

Non-null

The amount of Money expressed in minor units (e.g., $1 USD = 100 cents and ¥1 = 1 minor unit, here.)

amount is Int which overflows at 2,147,483,647 - for international currencies ie South Korean Won, this basically overflows at $15k USD

Note that $15k is a relatively small number when dealing with aggregate sales data (e.g., sales over the lifetime of an account) and so the overflow is almost guaranteed to happen.

currencyCode

Non-null

The currency of the Money.

Usages

#

References

#