Amount
Associates an amount in micros with a currency code.
JSON representation |
{
"amountMicros": string,
"currencyCode": string
} |
Fields |
amountMicros |
string (Int64Value format)
REQUIRED: An amount in micros.
|
currencyCode |
string
REQUIRED: ISO 4217 3-letter currency code
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[null,null,["Last updated 2025-02-28 UTC."],[[["Represents monetary amounts with a numerical value (`amountMicros`) and a three-letter currency code (`currencyCode`)."],["`amountMicros` uses the Int64Value format and represents the value in micros, while `currencyCode` follows the ISO 4217 standard."],["Both `amountMicros` and `currencyCode` fields are required for a valid representation."]]],["The provided JSON schema represents an amount associated with a currency. It requires two fields: `amountMicros`, a string representing an integer amount in micros, and `currencyCode`, a string denoting the ISO 4217 3-letter currency code. Both fields are mandatory for the correct schema representation. The `amountMicros` is required to use the `Int64Value` format, as provided by the referenced link.\n"]]