public class AndroidPublisher.Purchases.Subscriptionsv2 extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | AndroidPublisher.Purchases.Subscriptionsv2.Get | 
| class  | AndroidPublisher.Purchases.Subscriptionsv2.Revoke | 
| Constructor and Description | 
|---|
| Subscriptionsv2() | 
| Modifier and Type | Method and Description | 
|---|---|
| AndroidPublisher.Purchases.Subscriptionsv2.Get | get(String packageName,
   String token)Get metadata about a subscription
 Create a request for the method "subscriptionsv2.get". | 
| AndroidPublisher.Purchases.Subscriptionsv2.Revoke | revoke(String packageName,
      String token,
      RevokeSubscriptionPurchaseRequest content)Revoke a subscription purchase for the user. | 
public AndroidPublisher.Purchases.Subscriptionsv2.Get get(String packageName, String token) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package of the application for which this subscription was purchased (for example,
        'com.some.thing').token - Required. The token provided to the user's device when the subscription was purchased.IOExceptionpublic AndroidPublisher.Purchases.Subscriptionsv2.Revoke revoke(String packageName, String token, RevokeSubscriptionPurchaseRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The package of the application for which this subscription was purchased (for example,
        'com.some.thing').token - Required. The token provided to the user's device when the subscription was purchased.content - the RevokeSubscriptionPurchaseRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.