Price
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำจำกัดความของราคา เช่น สกุลเงินและหน่วย
การแสดง JSON |
{
"priceMicros": string,
"currency": string
} |
ช่อง |
priceMicros |
string
ราคาเป็น 1/ล้านของหน่วยฐานสกุลเงิน ซึ่งแสดงเป็นสตริง
|
currency |
string
รหัสสกุลเงิน 3 ตัวอักษรตามที่กำหนดโดย ISO 4217 ดู java/com/google/common/money/CurrencyCode.java
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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 |"]]