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

target.apidocs.com.google.api.services.androidpublisher.model.Subscription.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241217-2.0.0
Show newest version






Subscription (Google Play Android Developer API v3-rev20240129-2.0.0)












com.google.api.services.androidpublisher.model

Class Subscription

    • Constructor Detail

      • Subscription

        public Subscription()
    • Method Detail

      • getArchived

        public Boolean getArchived()
        Output only. Whether this subscription is archived. Archived subscriptions are not available to any subscriber any longer, cannot be updated, and are not returned in list requests unless the show archived flag is passed in.
        Returns:
        value or null for none
      • setArchived

        public Subscription setArchived(Boolean archived)
        Output only. Whether this subscription is archived. Archived subscriptions are not available to any subscriber any longer, cannot be updated, and are not returned in list requests unless the show archived flag is passed in.
        Parameters:
        archived - archived or null for none
      • getBasePlans

        public List<BasePlan> getBasePlans()
        The set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply.
        Returns:
        value or null for none
      • setBasePlans

        public Subscription setBasePlans(List<BasePlan> basePlans)
        The set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply.
        Parameters:
        basePlans - basePlans or null for none
      • getListings

        public List<SubscriptionListing> getListings()
        Required. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app.
        Returns:
        value or null for none
      • setListings

        public Subscription setListings(List<SubscriptionListing> listings)
        Required. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app.
        Parameters:
        listings - listings or null for none
      • getPackageName

        public String getPackageName()
        Immutable. Package name of the parent app.
        Returns:
        value or null for none
      • setPackageName

        public Subscription setPackageName(String packageName)
        Immutable. Package name of the parent app.
        Parameters:
        packageName - packageName or null for none
      • getProductId

        public String getProductId()
        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.
        Returns:
        value or null for none
      • setProductId

        public Subscription setProductId(String 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.
        Parameters:
        productId - productId or null for none
      • setTaxAndComplianceSettings

        public Subscription setTaxAndComplianceSettings(SubscriptionTaxAndComplianceSettings taxAndComplianceSettings)
        Details about taxes and legal compliance.
        Parameters:
        taxAndComplianceSettings - taxAndComplianceSettings or null for none
      • set

        public Subscription set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Subscription clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy