public final class ProductPurchase
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 Android 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 | 
|---|
| ProductPurchase() | 
| Modifier and Type | Method and Description | 
|---|---|
| ProductPurchase | clone() | 
| Integer | getAcknowledgementState()The acknowledgement state of the inapp product. | 
| 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 | getObfuscatedExternalAccountId()An obfuscated version of the id that is uniquely associated with the user's account in your
 app. | 
| String | getObfuscatedExternalProfileId()An obfuscated version of the id that is uniquely associated with the user's profile in your
 app. | 
| String | getOrderId()The order id associated with the purchase of the inapp product. | 
| String | getProductId()The inapp product SKU. | 
| Integer | getPurchaseState()The purchase state of the order. | 
| Long | getPurchaseTimeMillis()The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970). | 
| String | getPurchaseToken()The purchase token generated to identify this purchase. | 
| Integer | getPurchaseType()The type of purchase of the inapp product. | 
| Integer | getQuantity()The quantity associated with the purchase of the inapp product. | 
| Integer | getRefundableQuantity()The quantity eligible for refund, i.e. | 
| String | getRegionCode()ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted. | 
| ProductPurchase | set(String fieldName,
   Object value) | 
| ProductPurchase | setAcknowledgementState(Integer acknowledgementState)The acknowledgement state of the inapp product. | 
| ProductPurchase | setConsumptionState(Integer consumptionState)The consumption state of the inapp product. | 
| ProductPurchase | setDeveloperPayload(String developerPayload)A developer-specified string that contains supplemental information about an order. | 
| ProductPurchase | setKind(String kind)This kind represents an inappPurchase object in the androidpublisher service. | 
| ProductPurchase | setObfuscatedExternalAccountId(String obfuscatedExternalAccountId)An obfuscated version of the id that is uniquely associated with the user's account in your
 app. | 
| ProductPurchase | setObfuscatedExternalProfileId(String obfuscatedExternalProfileId)An obfuscated version of the id that is uniquely associated with the user's profile in your
 app. | 
| ProductPurchase | setOrderId(String orderId)The order id associated with the purchase of the inapp product. | 
| ProductPurchase | setProductId(String productId)The inapp product SKU. | 
| ProductPurchase | setPurchaseState(Integer purchaseState)The purchase state of the order. | 
| ProductPurchase | setPurchaseTimeMillis(Long purchaseTimeMillis)The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970). | 
| ProductPurchase | setPurchaseToken(String purchaseToken)The purchase token generated to identify this purchase. | 
| ProductPurchase | setPurchaseType(Integer purchaseType)The type of purchase of the inapp product. | 
| ProductPurchase | setQuantity(Integer quantity)The quantity associated with the purchase of the inapp product. | 
| ProductPurchase | setRefundableQuantity(Integer refundableQuantity)The quantity eligible for refund, i.e. | 
| ProductPurchase | setRegionCode(String regionCode)ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getAcknowledgementState()
null for nonepublic ProductPurchase setAcknowledgementState(Integer acknowledgementState)
acknowledgementState - acknowledgementState or null for nonepublic Integer getConsumptionState()
null for nonepublic ProductPurchase setConsumptionState(Integer consumptionState)
consumptionState - consumptionState or null for nonepublic String getDeveloperPayload()
null for nonepublic ProductPurchase setDeveloperPayload(String developerPayload)
developerPayload - developerPayload or null for nonepublic String getKind()
null for nonepublic ProductPurchase setKind(String kind)
kind - kind or null for nonepublic String getObfuscatedExternalAccountId()
null for nonepublic ProductPurchase setObfuscatedExternalAccountId(String obfuscatedExternalAccountId)
obfuscatedExternalAccountId - obfuscatedExternalAccountId or null for nonepublic String getObfuscatedExternalProfileId()
null for nonepublic ProductPurchase setObfuscatedExternalProfileId(String obfuscatedExternalProfileId)
obfuscatedExternalProfileId - obfuscatedExternalProfileId or null for nonepublic String getOrderId()
null for nonepublic ProductPurchase setOrderId(String orderId)
orderId - orderId or null for nonepublic String getProductId()
null for nonepublic ProductPurchase setProductId(String productId)
productId - productId or null for nonepublic Integer getPurchaseState()
null for nonepublic ProductPurchase setPurchaseState(Integer purchaseState)
purchaseState - purchaseState or null for nonepublic Long getPurchaseTimeMillis()
null for nonepublic ProductPurchase setPurchaseTimeMillis(Long purchaseTimeMillis)
purchaseTimeMillis - purchaseTimeMillis or null for nonepublic String getPurchaseToken()
null for nonepublic ProductPurchase setPurchaseToken(String purchaseToken)
purchaseToken - purchaseToken or null for nonepublic Integer getPurchaseType()
null for nonepublic ProductPurchase setPurchaseType(Integer purchaseType)
purchaseType - purchaseType or null for nonepublic Integer getQuantity()
null for nonepublic ProductPurchase setQuantity(Integer quantity)
quantity - quantity or null for nonepublic Integer getRefundableQuantity()
null for nonepublic ProductPurchase setRefundableQuantity(Integer refundableQuantity)
refundableQuantity - refundableQuantity or null for nonepublic String getRegionCode()
null for nonepublic ProductPurchase setRegionCode(String regionCode)
regionCode - regionCode or null for nonepublic ProductPurchase set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ProductPurchase clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.