Magidoc

MoneyInput
Input Object

The properties of a new Money.

Fields

#

amount

Non-null

Amount in minor units ($1 USD = 100 cents aka minor units and ¥1 = 1 minor unit, here). Note: this field will overflow at 2,147,483,647, which is quite likely in some currencies (~$15k USD in South Korean Won.) If this MoneyInput describes an aggregate sales value, $15k is truly not very much money and the overflow is likely to occur. Amount cannot be less than or equal to 0.

currencyCode

Non-null

The currency of the Money.