Money
ייצוג ב-JSON |
{
"kind": string,
"micros": string,
"currencyCode": string
} |
שדות |
kind (deprecated) |
string
מזהה את סוג המשאב. ערך: המחרוזת הקבועה "walletobjects#money" .
|
micros |
string (int64 format)
סכום המטבע ביחידות מיקרו. לדוגמה, 1$ USD מיוצג כ-1000000 מיקרו-שניות.
|
currencyCode |
string
קוד המטבע, למשל USD או EUR.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-13 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-13 (שעון UTC)."],[[["Money objects represent a monetary value amount with its currency using JSON."],["The `kind` field is deprecated and should not be used."],["`micros` represents the monetary value in micros (e.g., 1 USD = 1000000 micros)."],["`currencyCode` specifies the currency used, such as USD or EUR."]]],["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"]]