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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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 |"]]