public class AndroidPublisher.Monetization.Onetimeproducts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AndroidPublisher.Monetization.Onetimeproducts.BatchDelete |
class |
AndroidPublisher.Monetization.Onetimeproducts.BatchGet |
class |
AndroidPublisher.Monetization.Onetimeproducts.BatchUpdate |
class |
AndroidPublisher.Monetization.Onetimeproducts.Delete |
class |
AndroidPublisher.Monetization.Onetimeproducts.Get |
class |
AndroidPublisher.Monetization.Onetimeproducts.List |
class |
AndroidPublisher.Monetization.Onetimeproducts.Patch |
class |
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions
The "purchaseOptions" collection of methods.
|
| Constructor and Description |
|---|
Onetimeproducts() |
public AndroidPublisher.Monetization.Onetimeproducts.BatchDelete batchDelete(String packageName, BatchDeleteOneTimeProductsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.packageName - Required. The parent app (package name) for which the one-time products should be deleted. Must be
equal to the package_name field on all the OneTimeProduct resources.content - the BatchDeleteOneTimeProductsRequestIOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.BatchGet batchGet(String packageName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the products should be retrieved. Must be equal to
the package_name field on all requests.IOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.BatchUpdate batchUpdate(String packageName, BatchUpdateOneTimeProductsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.packageName - Required. The parent app (package name) for which the one-time products should be updated. Must be
equal to the package_name field on all the OneTimeProduct resources.content - the BatchUpdateOneTimeProductsRequestIOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.Delete delete(String packageName, String productId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the one-time product to delete.productId - Required. The one-time product ID of the one-time product to delete.IOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.Get get(String packageName, String productId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the product to retrieve.productId - Required. The product ID of the product to retrieve.IOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.List list(String packageName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the one-time product should be read.IOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.Patch patch(String packageName, String productId, OneTimeProduct content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. Immutable. Package name of the parent app.productId - Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs
must start with a number or lowercase letter, and can contain numbers (0-9), lowercase
letters (a-z), underscores (_), and periods (.).content - the OneTimeProductIOExceptionpublic AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions purchaseOptions()
The typical use is:
AndroidPublisher androidpublisher = new AndroidPublisher(...);AndroidPublisher.PurchaseOptions.List request = androidpublisher.purchaseOptions().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.