public final class Price
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Developer API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Price() |
| Modifier and Type | Method and Description |
|---|---|
Price |
clone() |
java.lang.String |
getCurrency()
3 letter Currency code, as defined by ISO 4217.
|
java.lang.String |
getPriceMicros()
The price in millionths of the currency base unit represented as a string.
|
Price |
set(java.lang.String fieldName,
java.lang.Object value) |
Price |
setCurrency(java.lang.String currency)
3 letter Currency code, as defined by ISO 4217.
|
Price |
setPriceMicros(java.lang.String priceMicros)
The price in millionths of the currency base unit represented as a string.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCurrency()
null for nonepublic Price setCurrency(java.lang.String currency)
currency - currency or null for nonepublic java.lang.String getPriceMicros()
null for nonepublic Price setPriceMicros(java.lang.String priceMicros)
priceMicros - priceMicros or null for nonepublic Price set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Price clone()
clone in class com.google.api.client.json.GenericJson