Price
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis JSON |
{
"priceMicros": string,
"currencyCode": string,
"pricingOptionTag": string
} |
Pola |
priceMicros |
string (int64 format)
Cena w mikrojednostkach waluty. Ułamki najmniejszej jednostki waluty będą zaokrąglane do najbliższej liczby całkowitej. (np. 2,5 centa zaokrąglane do 2 centów, 3,5 centa zaokrąglane do 4 centów, 0,5 centa zaokrąglane do 0 centów, 2,51 centa zaokrąglane do 3 centów).
|
currencyCode |
string
Waluta, w której podano cenę, zdefiniowana w ISO 4217.
|
pricingOptionTag |
string
Opcjonalny, nieprzejrzysty ciąg znaków określający opcję ceny powiązaną z ceną rozszerzoną.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\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. |"]]