public class AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions extends Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchDelete |
class |
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchUpdateStates |
class |
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.Offers
The "offers" collection of methods.
|
Constructor and Description |
---|
PurchaseOptions() |
Modifier and Type | Method and Description |
---|---|
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchDelete |
batchDelete(String packageName,
String productId,
BatchDeletePurchaseOptionsRequest content)
Deletes purchase options across one or multiple one-time products.
|
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchUpdateStates |
batchUpdateStates(String packageName,
String productId,
BatchUpdatePurchaseOptionStatesRequest content)
Activates or deactivates purchase options across one or multiple one-time products.
|
AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.Offers |
offers()
An accessor for creating requests from the Offers collection.
|
public AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchDelete batchDelete(String packageName, String productId, BatchDeletePurchaseOptionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.packageName
- Required. The parent app (package name) of the purchase options to delete.productId
- Required. The product ID of the parent one-time product, if all purchase options to delete belong to
the same one-time product. If this batch delete spans multiple one-time products, set this
field to "-".content
- the BatchDeletePurchaseOptionsRequest
IOException
public AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.BatchUpdateStates batchUpdateStates(String packageName, String productId, BatchUpdatePurchaseOptionStatesRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.packageName
- Required. The parent app (package name) of the updated purchase options.productId
- Required. The product ID of the parent one-time product, if all updated purchase options belong to
the same one-time product. If this batch update spans multiple one-time products, set this
field to "-".content
- the BatchUpdatePurchaseOptionStatesRequest
IOException
public AndroidPublisher.Monetization.Onetimeproducts.PurchaseOptions.Offers offers()
The typical use is:
AndroidPublisher androidpublisher = new AndroidPublisher(...);
AndroidPublisher.Offers.List request = androidpublisher.offers().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.