Price
The price represented as a number and currency.
JSON representation |
{
"amountMicros": string,
"currencyCode": string
} |
Fields |
amountMicros |
string (int64 format)
The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
|
currencyCode |
string
The currency of the price using three-letter acronyms according to ISO 4217.
|
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 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["Price is represented using JSON with `amountMicros` and `currencyCode` fields."],["`amountMicros` is a string representing the price in micros, where 1 million micros equals one unit of the currency."],["`currencyCode` is a string using a three-letter acronym based on ISO 4217 to indicate the currency."]]],["The content describes a JSON representation for a price, using `amountMicros` and `currencyCode` fields. `amountMicros` stores the price as a string of micros, where one million micros equal one standard unit of the currency. `currencyCode` is a string field that represents the currency using its three-letter ISO 4217 acronym. The price is stored as a numeric string with corresponding currency information.\n"]]