public final class OtherRegionsSubscriptionOfferPhaseConfig
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OtherRegionsSubscriptionOfferPhaseConfig() |
| Modifier and Type | Method and Description |
|---|---|
OtherRegionsSubscriptionOfferPhaseConfig |
clone() |
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.
|
OtherRegionsSubscriptionOfferPhaseFreePriceOverride |
getFree()
Set to specify this offer is free to obtain.
|
OtherRegionsSubscriptionOfferPhasePrices |
getOtherRegionsPrices()
The absolute price the user pays for this offer phase.
|
Double |
getRelativeDiscount()
The fraction of the base plan price prorated over the phase duration that the user pays for
this offer phase.
|
OtherRegionsSubscriptionOfferPhaseConfig |
set(String fieldName,
Object value) |
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.
|
OtherRegionsSubscriptionOfferPhaseConfig |
setFree(OtherRegionsSubscriptionOfferPhaseFreePriceOverride free)
Set to specify this offer is free to obtain.
|
OtherRegionsSubscriptionOfferPhaseConfig |
setOtherRegionsPrices(OtherRegionsSubscriptionOfferPhasePrices otherRegionsPrices)
The absolute price the user pays for this offer phase.
|
OtherRegionsSubscriptionOfferPhaseConfig |
setRelativeDiscount(Double relativeDiscount)
The fraction of the base plan price prorated over the phase duration that the user pays for
this offer phase.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic OtherRegionsSubscriptionOfferPhaseConfig()
public OtherRegionsSubscriptionOfferPhasePrices getAbsoluteDiscounts()
null for nonepublic OtherRegionsSubscriptionOfferPhaseConfig setAbsoluteDiscounts(OtherRegionsSubscriptionOfferPhasePrices absoluteDiscounts)
absoluteDiscounts - absoluteDiscounts or null for nonepublic OtherRegionsSubscriptionOfferPhaseFreePriceOverride getFree()
null for nonepublic OtherRegionsSubscriptionOfferPhaseConfig setFree(OtherRegionsSubscriptionOfferPhaseFreePriceOverride free)
free - free or null for nonepublic OtherRegionsSubscriptionOfferPhasePrices getOtherRegionsPrices()
null for nonepublic OtherRegionsSubscriptionOfferPhaseConfig setOtherRegionsPrices(OtherRegionsSubscriptionOfferPhasePrices otherRegionsPrices)
otherRegionsPrices - otherRegionsPrices or null for nonepublic Double getRelativeDiscount()
null for nonepublic OtherRegionsSubscriptionOfferPhaseConfig setRelativeDiscount(Double relativeDiscount)
relativeDiscount - relativeDiscount or null for nonepublic OtherRegionsSubscriptionOfferPhaseConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OtherRegionsSubscriptionOfferPhaseConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.