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."],[[["This documentation details the JSON representation for associating a monetary amount with its currency."],["The representation uses `amountMicros` for the amount in micros (Int64Value format) and `currencyCode` for the 3-letter ISO 4217 currency code."],["Both `amountMicros` and `currencyCode` fields are required."]]],["The provided JSON schema represents an amount of money. It requires two fields: `amountMicros`, a string representing an integer value indicating the amount in micros, and `currencyCode`, a string containing the 3-letter ISO 4217 currency code. Both fields are mandatory for the schema. The data focuses on defining a monetary amount and its associated currency.\n"]]