public final class InappPurchase
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 |
|---|
InappPurchase() |
| Modifier and Type | Method and Description |
|---|---|
InappPurchase |
clone() |
java.lang.Integer |
getConsumptionState()
The consumption state of the inapp product.
|
java.lang.String |
getDeveloperPayload()
A developer-specified string that contains supplemental information about an order.
|
java.lang.String |
getKind()
This kind represents an inappPurchase object in the androidpublisher service.
|
java.lang.Integer |
getPurchaseState()
The purchase state of the order.
|
java.lang.Long |
getPurchaseTime()
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
|
InappPurchase |
set(java.lang.String fieldName,
java.lang.Object value) |
InappPurchase |
setConsumptionState(java.lang.Integer consumptionState)
The consumption state of the inapp product.
|
InappPurchase |
setDeveloperPayload(java.lang.String developerPayload)
A developer-specified string that contains supplemental information about an order.
|
InappPurchase |
setKind(java.lang.String kind)
This kind represents an inappPurchase object in the androidpublisher service.
|
InappPurchase |
setPurchaseState(java.lang.Integer purchaseState)
The purchase state of the order.
|
InappPurchase |
setPurchaseTime(java.lang.Long purchaseTime)
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getConsumptionState()
null for nonepublic InappPurchase setConsumptionState(java.lang.Integer consumptionState)
consumptionState - consumptionState or null for nonepublic java.lang.String getDeveloperPayload()
null for nonepublic InappPurchase setDeveloperPayload(java.lang.String developerPayload)
developerPayload - developerPayload or null for nonepublic java.lang.String getKind()
null for nonepublic InappPurchase setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Integer getPurchaseState()
null for nonepublic InappPurchase setPurchaseState(java.lang.Integer purchaseState)
purchaseState - purchaseState or null for nonepublic java.lang.Long getPurchaseTime()
null for nonepublic InappPurchase setPurchaseTime(java.lang.Long purchaseTime)
purchaseTime - purchaseTime or null for nonepublic InappPurchase set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic InappPurchase clone()
clone in class com.google.api.client.json.GenericJson