Price
Definition eines Preises, d.h. Währung und Einheiten.
JSON-Darstellung |
{
"priceMicros": string,
"currency": string
} |
Felder |
priceMicros |
string
Der Preis in 1/Million der Währungsbasiseinheit, dargestellt als String.
|
currency |
string
Dreistelliger Währungscode gemäß ISO 4217. Siehe java/com/google/common/money/CurrencyCode.java
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-12-17 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]