Price in order.
JSON representation | |
---|---|
{ "type": enum( |
Fields | |
---|---|
type |
Type of price. Required. |
amount |
Monetary amount. Required. |
Money
Represents an amount of money with its currency type.
JSON representation | |
---|---|
{ "currencyCode": string, "units": string, "nanos": number } |
Fields | |
---|---|
currencyCode |
The 3-letter currency code defined in ISO 4217. |
units |
The whole units of the amount. For example if |
nanos |
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If |