public class AndroidPublisher.Monetization.Subscriptions extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | AndroidPublisher.Monetization.Subscriptions.Archive | 
| class  | AndroidPublisher.Monetization.Subscriptions.BasePlansThe "basePlans" collection of methods. | 
| class  | AndroidPublisher.Monetization.Subscriptions.BatchGet | 
| class  | AndroidPublisher.Monetization.Subscriptions.BatchUpdate | 
| class  | AndroidPublisher.Monetization.Subscriptions.Create | 
| class  | AndroidPublisher.Monetization.Subscriptions.Delete | 
| class  | AndroidPublisher.Monetization.Subscriptions.Get | 
| class  | AndroidPublisher.Monetization.Subscriptions.List | 
| class  | AndroidPublisher.Monetization.Subscriptions.Patch | 
| Constructor and Description | 
|---|
| Subscriptions() | 
public AndroidPublisher.Monetization.Subscriptions.Archive archive(String packageName, String productId, ArchiveSubscriptionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the app of the subscription to delete.productId - Required. The unique product ID of the subscription to delete.content - the ArchiveSubscriptionRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BatchGet batchGet(String packageName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the subscriptions should be retrieved. Must be
        equal to the package_name field on all the requests.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BatchUpdate batchUpdate(String packageName, BatchUpdateSubscriptionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - Required. The parent app (package name) for which the subscriptions should be updated. Must be equal
        to the package_name field on all the Subscription resources.content - the BatchUpdateSubscriptionsRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.Create create(String packageName, Subscription content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the subscription should be created. Must be equal
        to the package_name field on the Subscription resource.content - the SubscriptionIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.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 app of the subscription to delete.productId - Required. The unique product ID of the subscription to delete.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.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 subscription to get.productId - Required. The unique product ID of the subscription to get.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.List list(String packageName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the subscriptions should be read.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.Patch patch(String packageName, String productId, Subscription content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Immutable. Package name of the parent app.productId - Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be
        composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must
        start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters
        in length.content - the SubscriptionIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans basePlans()
The typical use is:
AndroidPublisher androidpublisher = new AndroidPublisher(...);AndroidPublisher.BasePlans.List request = androidpublisher.basePlans().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.