public final class Entitlement
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 |
|---|
Entitlement() |
| Modifier and Type | Method and Description |
|---|---|
Entitlement |
clone() |
java.lang.String |
getKind()
This kind represents an entitlement object in the androidpublisher service.
|
java.lang.String |
getProductId()
The SKU of the product.
|
java.lang.String |
getProductType()
The type of the inapp product.
|
java.lang.String |
getToken()
The token which can be verified using the subscriptions or products API.
|
Entitlement |
set(java.lang.String fieldName,
java.lang.Object value) |
Entitlement |
setKind(java.lang.String kind)
This kind represents an entitlement object in the androidpublisher service.
|
Entitlement |
setProductId(java.lang.String productId)
The SKU of the product.
|
Entitlement |
setProductType(java.lang.String productType)
The type of the inapp product.
|
Entitlement |
setToken(java.lang.String token)
The token which can be verified using the subscriptions or products API.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic Entitlement setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getProductId()
null for nonepublic Entitlement setProductId(java.lang.String productId)
productId - productId or null for nonepublic java.lang.String getProductType()
null for nonepublic Entitlement setProductType(java.lang.String productType)
productType - productType or null for nonepublic java.lang.String getToken()
null for nonepublic Entitlement setToken(java.lang.String token)
token - token or null for nonepublic Entitlement set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Entitlement clone()
clone in class com.google.api.client.json.GenericJson