public final class BasePlan
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 |
|---|
BasePlan() |
| Modifier and Type | Method and Description |
|---|---|
BasePlan |
clone() |
AutoRenewingBasePlanType |
getAutoRenewingBasePlanType()
Set when the base plan automatically renews at a regular interval.
|
String |
getBasePlanId()
Required.
|
InstallmentsBasePlanType |
getInstallmentsBasePlanType()
Set for installments base plans where a user is committed to a specified number of payments.
|
List<OfferTag> |
getOfferTags()
List of up to 20 custom tags specified for this base plan, and returned to the app through the
billing library.
|
OtherRegionsBasePlanConfig |
getOtherRegionsConfig()
Pricing information for any new locations Play may launch in the future.
|
PrepaidBasePlanType |
getPrepaidBasePlanType()
Set when the base plan does not automatically renew at the end of the billing period.
|
List<RegionalBasePlanConfig> |
getRegionalConfigs()
Region-specific information for this base plan.
|
String |
getState()
Output only.
|
BasePlan |
set(String fieldName,
Object value) |
BasePlan |
setAutoRenewingBasePlanType(AutoRenewingBasePlanType autoRenewingBasePlanType)
Set when the base plan automatically renews at a regular interval.
|
BasePlan |
setBasePlanId(String basePlanId)
Required.
|
BasePlan |
setInstallmentsBasePlanType(InstallmentsBasePlanType installmentsBasePlanType)
Set for installments base plans where a user is committed to a specified number of payments.
|
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.
|
BasePlan |
setOtherRegionsConfig(OtherRegionsBasePlanConfig otherRegionsConfig)
Pricing information for any new locations Play may launch in the future.
|
BasePlan |
setPrepaidBasePlanType(PrepaidBasePlanType prepaidBasePlanType)
Set when the base plan does not automatically renew at the end of the billing period.
|
BasePlan |
setRegionalConfigs(List<RegionalBasePlanConfig> regionalConfigs)
Region-specific information for this base plan.
|
BasePlan |
setState(String state)
Output only.
|
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 AutoRenewingBasePlanType getAutoRenewingBasePlanType()
null for nonepublic BasePlan setAutoRenewingBasePlanType(AutoRenewingBasePlanType autoRenewingBasePlanType)
autoRenewingBasePlanType - autoRenewingBasePlanType or null for nonepublic String getBasePlanId()
null for nonepublic BasePlan setBasePlanId(String basePlanId)
basePlanId - basePlanId or null for nonepublic InstallmentsBasePlanType getInstallmentsBasePlanType()
null for nonepublic BasePlan setInstallmentsBasePlanType(InstallmentsBasePlanType installmentsBasePlanType)
installmentsBasePlanType - installmentsBasePlanType or null for nonepublic List<OfferTag> getOfferTags()
null for nonepublic BasePlan setOfferTags(List<OfferTag> offerTags)
offerTags - offerTags or null for nonepublic OtherRegionsBasePlanConfig getOtherRegionsConfig()
null for nonepublic BasePlan setOtherRegionsConfig(OtherRegionsBasePlanConfig otherRegionsConfig)
otherRegionsConfig - otherRegionsConfig or null for nonepublic PrepaidBasePlanType getPrepaidBasePlanType()
null for nonepublic BasePlan setPrepaidBasePlanType(PrepaidBasePlanType prepaidBasePlanType)
prepaidBasePlanType - prepaidBasePlanType or null for nonepublic List<RegionalBasePlanConfig> getRegionalConfigs()
null for nonepublic BasePlan setRegionalConfigs(List<RegionalBasePlanConfig> regionalConfigs)
regionalConfigs - regionalConfigs or null for nonepublic String getState()
null for nonepublic BasePlan setState(String state)
state - state or null for nonepublic BasePlan set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BasePlan clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.