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: https://developers.google.com/api-client-library/java/google-http-java-client/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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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.GenericJson
public Price clone()
clone
in class com.google.api.client.json.GenericJson