All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidpublisher.AndroidPublisher.Purchases.Subscriptionsv2.html Maven / Gradle / Ivy







AndroidPublisher.Purchases.Subscriptionsv2 (Google Play Android Developer API v3-rev20240129-2.0.0)












com.google.api.services.androidpublisher

Class AndroidPublisher.Purchases.Subscriptionsv2

  • java.lang.Object
    • com.google.api.services.androidpublisher.AndroidPublisher.Purchases.Subscriptionsv2
  • Enclosing class:
    AndroidPublisher.Purchases


    public class AndroidPublisher.Purchases.Subscriptionsv2
    extends Object
    The "subscriptionsv2" collection of methods.
    • Constructor Detail

      • Subscriptionsv2

        public Subscriptionsv2()
    • Method Detail

      • get

        public AndroidPublisher.Purchases.Subscriptionsv2.Get get(String packageName,
                                                                  String token)
                                                           throws IOException
        Get metadata about a subscription Create a request for the method "subscriptionsv2.get". This request holds the parameters needed by the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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.
        Returns:
        the request
        Throws:
        IOException
      • revoke

        public AndroidPublisher.Purchases.Subscriptionsv2.Revoke revoke(String packageName,
                                                                        String token,
                                                                        RevokeSubscriptionPurchaseRequest content)
                                                                 throws IOException
        Revoke a subscription purchase for the user. Create a request for the method "subscriptionsv2.revoke". This request holds the parameters needed by the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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 RevokeSubscriptionPurchaseRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy