public class AndroidPublisher.Monetization.Subscriptions.BasePlans extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans.Activate |
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans.Deactivate |
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans.Delete |
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans.MigratePrices |
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers
The "offers" collection of methods.
|
| Constructor and Description |
|---|
BasePlans() |
public AndroidPublisher.Monetization.Subscriptions.BasePlans.Activate activate(String packageName, String productId, String basePlanId, ActivateBasePlanRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the base plan to activate.productId - Required. The parent subscription (ID) of the base plan to activate.basePlanId - Required. The unique base plan ID of the base plan to activate.content - the ActivateBasePlanRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Deactivate deactivate(String packageName, String productId, String basePlanId, DeactivateBasePlanRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the base plan to deactivate.productId - Required. The parent subscription (ID) of the base plan to deactivate.basePlanId - Required. The unique base plan ID of the base plan to deactivate.content - the DeactivateBasePlanRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Delete delete(String packageName, String productId, String basePlanId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the base plan to delete.productId - Required. The parent subscription (ID) of the base plan to delete.basePlanId - Required. The unique offer ID of the base plan to delete.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.MigratePrices migratePrices(String packageName, String productId, String basePlanId, MigrateBasePlanPricesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.packageName - Required. Package name of the parent app. Must be equal to the package_name field on the
Subscription resource.productId - Required. The ID of the subscription to update. Must be equal to the product_id field on the
Subscription resource.basePlanId - Required. The unique base plan ID of the base plan to update prices on.content - the MigrateBasePlanPricesRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers offers()
The typical use is:
AndroidPublisher androidpublisher = new AndroidPublisher(...);AndroidPublisher.Offers.List request = androidpublisher.offers().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.