public class AndroidPublisher.Purchases.Products
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
AndroidPublisher.Purchases.Products.Acknowledge |
class |
AndroidPublisher.Purchases.Products.Get |
| Constructor and Description |
|---|
Products() |
| Modifier and Type | Method and Description |
|---|---|
AndroidPublisher.Purchases.Products.Acknowledge |
acknowledge(java.lang.String packageName,
java.lang.String productId,
java.lang.String token,
ProductPurchasesAcknowledgeRequest content)
Acknowledges a purchase of an inapp item.
|
AndroidPublisher.Purchases.Products.Get |
get(java.lang.String packageName,
java.lang.String productId,
java.lang.String token)
Checks the purchase and consumption status of an inapp item.
|
public AndroidPublisher.Purchases.Products.Acknowledge acknowledge(java.lang.String packageName, java.lang.String productId, java.lang.String token, ProductPurchasesAcknowledgeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.packageName - The package name of the application the inapp product was sold in (for example, 'com.some.thing').productId - The inapp product SKU (for example, 'com.some.thing.inapp1').token - The token provided to the user's device when the subscription was purchased.content - the ProductPurchasesAcknowledgeRequestjava.io.IOExceptionpublic AndroidPublisher.Purchases.Products.Get get(java.lang.String packageName, java.lang.String productId, java.lang.String token) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application the inapp product was sold in (for example, 'com.some.thing').productId - The inapp product SKU (for example, 'com.some.thing.inapp1').token - The token provided to the user's device when the inapp product was purchased.java.io.IOException