Price
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعريف السعر، أي العملة والوحدات
تمثيل JSON |
{
"priceMicros": string,
"currency": string
} |
الحقول |
priceMicros |
string
السعر بالمليون من الوحدة الأساسية للعملة، ويتم تمثيله كسلسلة
|
currency |
string
رمز العملة المكوّن من 3 أحرف، كما هو محدّد في ISO 4217. يمكنك الاطّلاع على java/com/google/common/money/CurrencyCode.java
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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 |"]]