public final class Entitlement extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Entitlement() |
| Modifier and Type | Method and Description |
|---|---|
Entitlement |
clone() |
String |
getKind()
This kind represents an entitlement object in the androidpublisher service.
|
String |
getProductId()
The SKU of the product.
|
String |
getProductType()
The type of the inapp product.
|
String |
getToken()
The token which can be verified using the subscriptions or products API.
|
Entitlement |
set(String fieldName,
Object value) |
Entitlement |
setKind(String kind)
This kind represents an entitlement object in the androidpublisher service.
|
Entitlement |
setProductId(String productId)
The SKU of the product.
|
Entitlement |
setProductType(String productType)
The type of the inapp product.
|
Entitlement |
setToken(String token)
The token which can be verified using the subscriptions or products API.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getKind()
null for nonepublic Entitlement setKind(String kind)
kind - kind or null for nonepublic String getProductId()
null for nonepublic Entitlement setProductId(String productId)
productId - productId or null for nonepublic String getProductType()
null for nonepublic Entitlement setProductType(String productType)
productType - productType or null for nonepublic String getToken()
null for nonepublic Entitlement setToken(String token)
token - token or null for nonepublic Entitlement set(String fieldName, Object value)
set in class GenericJsonpublic Entitlement clone()
clone in class GenericJson