Price
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרה של מחיר, כלומר מטבע ויחידות.
ייצוג JSON |
{
"priceMicros": string,
"currency": string
} |
שדות |
priceMicros |
string
המחיר במיליון יחידת הבסיס של המטבע, מיוצג כמחרוזת.
|
currency |
string
קוד מטבע בן 3 אותיות, כפי שמוגדר בתקן ISO 4217. ניתן לעיין בכתובת Java/com/google/common/money/CurrencyCode.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eDefines the structure for representing a price using JSON, specifying currency and units.\u003c/p\u003e\n"],["\u003cp\u003eEmploys \u003ccode\u003epriceMicros\u003c/code\u003e to denote the price in one-millionth of the currency's base unit, presented as a string.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes ISO 4217 standard for the 3-letter \u003ccode\u003ecurrency\u003c/code\u003e code, ensuring consistency and clarity in representing different currencies.\u003c/p\u003e\n"]]],["The content defines a price using a JSON structure with two fields. `priceMicros` is a string representing the price in 1/million of the currency's base unit. `currency` is a string, specifying the currency's three-letter code according to ISO 4217 standards. The JSON representation uses the keys `priceMicros` and `currency` with respective string values to represent the price data.\n"],null,["# Price\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDefinition of a price, i.e. currency and units.\n\n| JSON representation |\n|-------------------------------------------------------|\n| ``` { \"priceMicros\": string, \"currency\": string } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------|\n| `priceMicros` | `string` Price in 1/million of the currency base unit, represented as a string. |\n| `currency` | `string` 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java |"]]