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

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

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






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












com.google.api.services.androidpublisher.model

Class BasePlan

    • Constructor Detail

      • BasePlan

        public BasePlan()
    • Method Detail

      • getAutoRenewingBasePlanType

        public AutoRenewingBasePlanType getAutoRenewingBasePlanType()
        Set when the base plan automatically renews at a regular interval.
        Returns:
        value or null for none
      • setAutoRenewingBasePlanType

        public BasePlan setAutoRenewingBasePlanType(AutoRenewingBasePlanType autoRenewingBasePlanType)
        Set when the base plan automatically renews at a regular interval.
        Parameters:
        autoRenewingBasePlanType - autoRenewingBasePlanType or null for none
      • getBasePlanId

        public String getBasePlanId()
        Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.
        Returns:
        value or null for none
      • setBasePlanId

        public BasePlan setBasePlanId(String basePlanId)
        Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.
        Parameters:
        basePlanId - basePlanId or null for none
      • getOfferTags

        public List<OfferTag> getOfferTags()
        List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.
        Returns:
        value or null for none
      • setOfferTags

        public BasePlan setOfferTags(List<OfferTag> offerTags)
        List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.
        Parameters:
        offerTags - offerTags or null for none
      • getOtherRegionsConfig

        public OtherRegionsBasePlanConfig getOtherRegionsConfig()
        Pricing information for any new locations Play may launch in the future. If omitted, the BasePlan will not be automatically available any new locations Play may launch in the future.
        Returns:
        value or null for none
      • setOtherRegionsConfig

        public BasePlan setOtherRegionsConfig(OtherRegionsBasePlanConfig otherRegionsConfig)
        Pricing information for any new locations Play may launch in the future. If omitted, the BasePlan will not be automatically available any new locations Play may launch in the future.
        Parameters:
        otherRegionsConfig - otherRegionsConfig or null for none
      • getPrepaidBasePlanType

        public PrepaidBasePlanType getPrepaidBasePlanType()
        Set when the base plan does not automatically renew at the end of the billing period.
        Returns:
        value or null for none
      • setPrepaidBasePlanType

        public BasePlan setPrepaidBasePlanType(PrepaidBasePlanType prepaidBasePlanType)
        Set when the base plan does not automatically renew at the end of the billing period.
        Parameters:
        prepaidBasePlanType - prepaidBasePlanType or null for none
      • getRegionalConfigs

        public List<RegionalBasePlanConfig> getRegionalConfigs()
        Region-specific information for this base plan.
        Returns:
        value or null for none
      • setRegionalConfigs

        public BasePlan setRegionalConfigs(List<RegionalBasePlanConfig> regionalConfigs)
        Region-specific information for this base plan.
        Parameters:
        regionalConfigs - regionalConfigs or null for none
      • getState

        public String getState()
        Output only. The state of the base plan, i.e. whether it's active. Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.
        Returns:
        value or null for none
      • setState

        public BasePlan setState(String state)
        Output only. The state of the base plan, i.e. whether it's active. Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.
        Parameters:
        state - state or null for none
      • set

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

        public BasePlan 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