public class AndroidPublisher.Monetization.Subscriptions extends Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidPublisher.Monetization.Subscriptions.Archive |
class |
AndroidPublisher.Monetization.Subscriptions.BasePlans
The "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 ArchiveSubscriptionRequest
IOException
public 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.IOException
public 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 BatchUpdateSubscriptionsRequest
IOException
public 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 Subscription
IOException
public 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.IOException
public 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.IOException
public 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.IOException
public 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 Subscription
IOException
public AndroidPublisher.Monetization.Subscriptions.BasePlans basePlans()
The typical use is:
AndroidPublisher androidpublisher = new AndroidPublisher(...);
AndroidPublisher.BasePlans.List request = androidpublisher.basePlans().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.