Price
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Definição de um preço, ou seja, moeda e unidades.
Representação JSON |
{
"priceMicros": string,
"currency": string
} |
Campos |
priceMicros |
string
Preço em 1/milhão da unidade base da moeda, representado como uma string.
|
currency |
string
Código da moeda de três letras, conforme definido pela norma ISO 4217. Consulte java/com/google/common/money/CurrencyCode.java
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 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 |"]]