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

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







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












com.google.api.services.androidpublisher.model

Class OtherRegionsSubscriptionOfferPhaseConfig

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class OtherRegionsSubscriptionOfferPhaseConfig
    extends com.google.api.client.json.GenericJson
    Configuration for any new locations Play may launch in for a single offer phase.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Android Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • OtherRegionsSubscriptionOfferPhaseConfig

        public OtherRegionsSubscriptionOfferPhaseConfig()
    • Method Detail

      • getAbsoluteDiscounts

        public OtherRegionsSubscriptionOfferPhasePrices getAbsoluteDiscounts()
        The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for any new locations Play may launch in.
        Returns:
        value or null for none
      • setAbsoluteDiscounts

        public OtherRegionsSubscriptionOfferPhaseConfig setAbsoluteDiscounts(OtherRegionsSubscriptionOfferPhasePrices absoluteDiscounts)
        The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for any new locations Play may launch in.
        Parameters:
        absoluteDiscounts - absoluteDiscounts or null for none
      • getOtherRegionsPrices

        public OtherRegionsSubscriptionOfferPhasePrices getOtherRegionsPrices()
        The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for any new locations Play may launch in.
        Returns:
        value or null for none
      • getRelativeDiscount

        public Double getRelativeDiscount()
        The fraction of the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a 50% discount for a phase of a duration of 3 months would correspond to a price of $1.50. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in any new locations Play may launch in.
        Returns:
        value or null for none
      • setRelativeDiscount

        public OtherRegionsSubscriptionOfferPhaseConfig setRelativeDiscount(Double relativeDiscount)
        The fraction of the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a 50% discount for a phase of a duration of 3 months would correspond to a price of $1.50. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in any new locations Play may launch in.
        Parameters:
        relativeDiscount - relativeDiscount or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy