Price
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"priceMicros": string,
"currencyCode": string,
"pricingOptionTag": string
} |
字段 |
priceMicros |
string (int64 format)
以微观的货币单位表示的价格。最小货币单位的小数部分将四舍五入为最接近的偶数。(例如,2.5 美分四舍五入为 2 美分,3.5 美分四舍五入为 4 美分,0.5 美分四舍五入为 0 美分,2.51 美分四舍五入为 3 美分)。
|
currencyCode |
string
ISO 4217 中定义的货币价格。
|
pricingOptionTag |
string
可选且不透明的字符串,用于标识与扩展价格关联的定价选项。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe JSON object represents the price of a service or fee using \u003ccode\u003epriceMicros\u003c/code\u003e, \u003ccode\u003ecurrencyCode\u003c/code\u003e, and \u003ccode\u003epricingOptionTag\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epriceMicros\u003c/code\u003e represents the price in the smallest currency unit (micro-units) as a string formatted as an int64, with fractions rounded to the nearest even value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecurrencyCode\u003c/code\u003e is a string that defines the currency using the ISO 4217 standard.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epricingOptionTag\u003c/code\u003e is an optional string used to identify the specific pricing option associated with this price.\u003c/p\u003e\n"]]],[],null,["# Price\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe price of a service or a fee.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"priceMicros\": string, \"currencyCode\": string, \"pricingOptionTag\": string } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `price``Micros` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The price in micro-units of the currency. Fractions of smallest currency unit will be rounded using nearest even rounding. (e.g. For USD 2.5 cents rounded to 2 cents, 3.5 cents rounded to 4 cents, 0.5 cents rounded to 0 cents, 2.51 cents rounded to 3 cents). |\n| `currency``Code` | `string` The currency of the price that is defined in ISO 4217. |\n| `pricing``Option``Tag` | `string` An optional and opaque string that identifies the pricing option that is associated with the extended price. |"]]