Price
Definizione di un prezzo, ovvero valuta e unità.
Rappresentazione JSON |
{
"priceMicros": string,
"currency": string
} |
Campi |
priceMicros |
string
Prezzo in 1/milione dell'unità di base della valuta, rappresentata come stringa.
|
currency |
string
Codice valuta di 3 lettere, come definito da ISO 4217. Vedi java/com/google/common/money/CurrencyCode.java
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-12-17 UTC.
[null,null,["Ultimo aggiornamento 2024-12-17 UTC."],[[["Defines the structure for representing a price using JSON, specifying currency and units."],["Employs `priceMicros` to denote the price in one-millionth of the currency's base unit, presented as a string."],["Utilizes ISO 4217 standard for the 3-letter `currency` code, ensuring consistency and clarity in representing different currencies."]]],["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"]]