Amount
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["\u003cp\u003eRepresents monetary values with an amount in micros and a three-letter currency code.\u003c/p\u003e\n"],["\u003cp\u003eUses JSON format with "amountMicros" and "currencyCode" fields.\u003c/p\u003e\n"],["\u003cp\u003e"amountMicros" is a required field, expressed as a string in Int64Value format, representing the monetary value in micros.\u003c/p\u003e\n"],["\u003cp\u003e"currencyCode" is another required field, using a string to denote the ISO 4217 3-letter currency code.\u003c/p\u003e\n"]]],["The provided JSON schema represents an amount associated with a currency. It requires two fields: `amountMicros`, a string representing an amount in micros using the Int64Value format, and `currencyCode`, a string representing the ISO 4217 3-letter currency code. Both fields are mandatory for a valid representation. This schema defines how to express monetary values with their associated currency.\n"],null,["# Amount\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAssociates an amount in micros with a currency code.\n\n| JSON representation |\n|------------------------------------------------------------|\n| ``` { \"amountMicros\": string, \"currencyCode\": string } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `amountMicros` | `string (`[Int64Value](https://developers.google.com/discovery/v1/type-format)` format)` **REQUIRED** : An amount in [micros](/pay/carrier-wallets-v1/reference/glossary#micros \"What are micros?\"). |\n| `currencyCode` | `string` **REQUIRED**: ISO 4217 3-letter currency code |"]]