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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InappPurchase() |
| Modifier and Type | Method and Description |
|---|---|
InappPurchase |
clone() |
Integer |
getConsumptionState()
The consumption state of the inapp product.
|
String |
getDeveloperPayload()
A developer-specified string that contains supplemental information about an order.
|
String |
getKind()
This kind represents an inappPurchase object in the androidpublisher service.
|
String |
getOrderId()
The order id associated with the purchase of the inapp product.
|
Integer |
getPurchaseState()
The purchase state of the order.
|
Long |
getPurchaseTime()
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
|
Integer |
getPurchaseType()
The type of purchase of the inapp product.
|
InappPurchase |
set(String fieldName,
Object value) |
InappPurchase |
setConsumptionState(Integer consumptionState)
The consumption state of the inapp product.
|
InappPurchase |
setDeveloperPayload(String developerPayload)
A developer-specified string that contains supplemental information about an order.
|
InappPurchase |
setKind(String kind)
This kind represents an inappPurchase object in the androidpublisher service.
|
InappPurchase |
setOrderId(String orderId)
The order id associated with the purchase of the inapp product.
|
InappPurchase |
setPurchaseState(Integer purchaseState)
The purchase state of the order.
|
InappPurchase |
setPurchaseTime(Long purchaseTime)
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
|
InappPurchase |
setPurchaseType(Integer purchaseType)
The type of purchase of the inapp product.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getConsumptionState()
null for nonepublic InappPurchase setConsumptionState(Integer consumptionState)
consumptionState - consumptionState or null for nonepublic String getDeveloperPayload()
null for nonepublic InappPurchase setDeveloperPayload(String developerPayload)
developerPayload - developerPayload or null for nonepublic String getKind()
null for nonepublic InappPurchase setKind(String kind)
kind - kind or null for nonepublic String getOrderId()
null for nonepublic InappPurchase setOrderId(String orderId)
orderId - orderId or null for nonepublic Integer getPurchaseState()
null for nonepublic InappPurchase setPurchaseState(Integer purchaseState)
purchaseState - purchaseState or null for nonepublic Long getPurchaseTime()
null for nonepublic InappPurchase setPurchaseTime(Long purchaseTime)
purchaseTime - purchaseTime or null for nonepublic Integer getPurchaseType()
null for nonepublic InappPurchase setPurchaseType(Integer purchaseType)
purchaseType - purchaseType or null for nonepublic InappPurchase set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InappPurchase clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.