public final class ProductPurchaseV2
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ProductPurchaseV2() |
Modifier and Type | Method and Description |
---|---|
ProductPurchaseV2 |
clone() |
String |
getAcknowledgementState()
Output only.
|
String |
getKind()
This kind represents a ProductPurchaseV2 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.
|
List<ProductLineItem> |
getProductLineItem()
Contains item-level info for a ProductPurchaseV2.
|
String |
getPurchaseCompletionTime()
The time when the purchase was successful, i.e., when the PurchaseState has changed to
PURCHASED.
|
PurchaseStateContext |
getPurchaseStateContext()
Information about the purchase state of the purchase.
|
String |
getRegionCode()
ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.
|
TestPurchaseContext |
getTestPurchaseContext()
Information related to test purchases.
|
ProductPurchaseV2 |
set(String fieldName,
Object value) |
ProductPurchaseV2 |
setAcknowledgementState(String acknowledgementState)
Output only.
|
ProductPurchaseV2 |
setKind(String kind)
This kind represents a ProductPurchaseV2 object in the androidpublisher service.
|
ProductPurchaseV2 |
setObfuscatedExternalAccountId(String obfuscatedExternalAccountId)
An obfuscated version of the id that is uniquely associated with the user's account in your
app.
|
ProductPurchaseV2 |
setObfuscatedExternalProfileId(String obfuscatedExternalProfileId)
An obfuscated version of the id that is uniquely associated with the user's profile in your
app.
|
ProductPurchaseV2 |
setOrderId(String orderId)
The order id associated with the purchase of the inapp product.
|
ProductPurchaseV2 |
setProductLineItem(List<ProductLineItem> productLineItem)
Contains item-level info for a ProductPurchaseV2.
|
ProductPurchaseV2 |
setPurchaseCompletionTime(String purchaseCompletionTime)
The time when the purchase was successful, i.e., when the PurchaseState has changed to
PURCHASED.
|
ProductPurchaseV2 |
setPurchaseStateContext(PurchaseStateContext purchaseStateContext)
Information about the purchase state of the purchase.
|
ProductPurchaseV2 |
setRegionCode(String regionCode)
ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.
|
ProductPurchaseV2 |
setTestPurchaseContext(TestPurchaseContext testPurchaseContext)
Information related to test purchases.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAcknowledgementState()
null
for nonepublic ProductPurchaseV2 setAcknowledgementState(String acknowledgementState)
acknowledgementState
- acknowledgementState or null
for nonepublic String getKind()
null
for nonepublic ProductPurchaseV2 setKind(String kind)
kind
- kind or null
for nonepublic String getObfuscatedExternalAccountId()
null
for nonepublic ProductPurchaseV2 setObfuscatedExternalAccountId(String obfuscatedExternalAccountId)
obfuscatedExternalAccountId
- obfuscatedExternalAccountId or null
for nonepublic String getObfuscatedExternalProfileId()
null
for nonepublic ProductPurchaseV2 setObfuscatedExternalProfileId(String obfuscatedExternalProfileId)
obfuscatedExternalProfileId
- obfuscatedExternalProfileId or null
for nonepublic String getOrderId()
null
for nonepublic ProductPurchaseV2 setOrderId(String orderId)
orderId
- orderId or null
for nonepublic List<ProductLineItem> getProductLineItem()
null
for nonepublic ProductPurchaseV2 setProductLineItem(List<ProductLineItem> productLineItem)
productLineItem
- productLineItem or null
for nonepublic String getPurchaseCompletionTime()
null
for nonepublic ProductPurchaseV2 setPurchaseCompletionTime(String purchaseCompletionTime)
purchaseCompletionTime
- purchaseCompletionTime or null
for nonepublic PurchaseStateContext getPurchaseStateContext()
null
for nonepublic ProductPurchaseV2 setPurchaseStateContext(PurchaseStateContext purchaseStateContext)
purchaseStateContext
- purchaseStateContext or null
for nonepublic String getRegionCode()
null
for nonepublic ProductPurchaseV2 setRegionCode(String regionCode)
regionCode
- regionCode or null
for nonepublic TestPurchaseContext getTestPurchaseContext()
null
for nonepublic ProductPurchaseV2 setTestPurchaseContext(TestPurchaseContext testPurchaseContext)
testPurchaseContext
- testPurchaseContext or null
for nonepublic ProductPurchaseV2 set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ProductPurchaseV2 clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.