Money
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"kind": string,
"micros": string,
"currencyCode": string
} |
Fields |
kind (deprecated) |
string
Identifies what kind of resource this is. Value: the fixed string "walletobjects#money" .
|
micros |
string (int64 format)
The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.
|
currencyCode |
string
The currency code, such as "USD" or "EUR."
|
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-03-13 UTC.
[null,null,["Last updated 2025-03-13 UTC."],[],["The JSON object represents monetary value. It has three fields: `kind` (deprecated, always `\"walletobjects#money\"`), `micros` (an integer string representing the amount in micro-units, e.g., 1,000,000 for $1), and `currencyCode` (a string indicating the currency, like \"USD\"). The key action is to use the `micros` and `currencyCode` to denote money values and to be aware that the field `kind` is deprecated.\n"],null,[]]