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 BatchDeleteOneTimeProductsRequest
IOException
public 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.IOException
public 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 BatchUpdateOneTimeProductsRequest
IOException
public 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.IOException
public 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.IOException
public 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.IOException
public 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 OneTimeProduct
IOException
public 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.