Amount
Describes the amount unit including the currency code.
JSON representation |
{
"currencyCode": string,
"amountMicros": string
} |
Fields |
currencyCode |
string
Required. Currency codes in accordance with ISO-4217 Currency Codes. For example, USD.
|
amountMicros |
string (int64 format)
Required. Amount in micros (1_000_000 micros = 1 currency unit)
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["The amount unit is described using JSON, specifying the currency code and amount in micros."],["Currency codes adhere to ISO-4217 standards (e.g., USD), while the amount is represented in micros, where 1,000,000 micros equals one unit of the currency."]]],[]]