public class AndroidPublisher.Purchases.Subscriptions extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | AndroidPublisher.Purchases.Subscriptions.Acknowledge | 
| class  | AndroidPublisher.Purchases.Subscriptions.Cancel | 
| class  | AndroidPublisher.Purchases.Subscriptions.Defer | 
| class  | AndroidPublisher.Purchases.Subscriptions.Get | 
| class  | AndroidPublisher.Purchases.Subscriptions.Refund | 
| class  | AndroidPublisher.Purchases.Subscriptions.Revoke | 
| Constructor and Description | 
|---|
| Subscriptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| AndroidPublisher.Purchases.Subscriptions.Acknowledge | acknowledge(String packageName,
           String subscriptionId,
           String token,
           SubscriptionPurchasesAcknowledgeRequest content)Acknowledges a subscription purchase. | 
| AndroidPublisher.Purchases.Subscriptions.Cancel | cancel(String packageName,
      String subscriptionId,
      String token)Cancels a user's subscription purchase. | 
| AndroidPublisher.Purchases.Subscriptions.Defer | defer(String packageName,
     String subscriptionId,
     String token,
     SubscriptionPurchasesDeferRequest content)Defers a user's subscription purchase until a specified future expiration time. | 
| AndroidPublisher.Purchases.Subscriptions.Get | get(String packageName,
   String subscriptionId,
   String token)Checks whether a user's subscription purchase is valid and returns its expiry time. | 
| AndroidPublisher.Purchases.Subscriptions.Refund | refund(String packageName,
      String subscriptionId,
      String token)Refunds a user's subscription purchase, but the subscription remains valid until its expiration
 time and it will continue to recur. | 
| AndroidPublisher.Purchases.Subscriptions.Revoke | revoke(String packageName,
      String subscriptionId,
      String token)Refunds and immediately revokes a user's subscription purchase. | 
public AndroidPublisher.Purchases.Subscriptions.Acknowledge acknowledge(String packageName, String subscriptionId, String token, SubscriptionPurchasesAcknowledgeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.content - the SubscriptionPurchasesAcknowledgeRequestIOExceptionpublic AndroidPublisher.Purchases.Subscriptions.Cancel cancel(String packageName, String subscriptionId, String token) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.IOExceptionpublic AndroidPublisher.Purchases.Subscriptions.Defer defer(String packageName, String subscriptionId, String token, SubscriptionPurchasesDeferRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.content - the SubscriptionPurchasesDeferRequestIOExceptionpublic AndroidPublisher.Purchases.Subscriptions.Get get(String packageName, String subscriptionId, String token) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.IOExceptionpublic AndroidPublisher.Purchases.Subscriptions.Refund refund(String packageName, String subscriptionId, String token) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - "The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.IOExceptionpublic AndroidPublisher.Purchases.Subscriptions.Revoke revoke(String packageName, String subscriptionId, String token) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - The package name of the application for which this subscription was purchased (for example,
        'com.some.thing').subscriptionId - The purchased subscription ID (for example, 'monthly001').token - The token provided to the user's device when the subscription was purchased.IOExceptionCopyright © 2011–2024 Google. All rights reserved.