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.BatchMigratePrices | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlans.BatchUpdateStates | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlans.Deactivate | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlans.Delete | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlans.MigratePrices | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlans.OffersThe "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.BatchMigratePrices batchMigratePrices(String packageName, String productId, BatchMigrateBasePlanPricesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - Required. The parent app (package name) for which the subscriptions should be created or updated.
        Must be equal to the package_name field on all the Subscription resources.productId - Required. The product ID of the parent subscription, if all updated offers belong to the same
        subscription. If this batch update spans multiple subscriptions, set this field to "-".
        Must be set.content - the BatchMigrateBasePlanPricesRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.BatchUpdateStates batchUpdateStates(String packageName, String productId, BatchUpdateBasePlanStatesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - Required. The parent app (package name) of the updated base plans.productId - Required. The product ID of the parent subscription, if all updated base plans belong to the same
        subscription. If this batch update spans multiple subscriptions, set this field to "-".
        Must be set.content - the BatchUpdateBasePlanStatesRequestIOExceptionpublic 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–2024 Google. All rights reserved.