public final class AutoRenewingBasePlanType
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 |
|---|
AutoRenewingBasePlanType() |
| Modifier and Type | Method and Description |
|---|---|
AutoRenewingBasePlanType |
clone() |
String |
getAccountHoldDuration()
Optional.
|
String |
getBillingPeriodDuration()
Required.
|
String |
getGracePeriodDuration()
Grace period of the subscription, specified in ISO 8601 format.
|
Boolean |
getLegacyCompatible()
Whether the renewing base plan is backward compatible.
|
String |
getLegacyCompatibleSubscriptionOfferId()
Subscription offer id which is legacy compatible.
|
String |
getProrationMode()
The proration mode for the base plan determines what happens when a user switches to this plan
from another base plan.
|
String |
getResubscribeState()
Whether users should be able to resubscribe to this base plan in Google Play surfaces.
|
AutoRenewingBasePlanType |
set(String fieldName,
Object value) |
AutoRenewingBasePlanType |
setAccountHoldDuration(String accountHoldDuration)
Optional.
|
AutoRenewingBasePlanType |
setBillingPeriodDuration(String billingPeriodDuration)
Required.
|
AutoRenewingBasePlanType |
setGracePeriodDuration(String gracePeriodDuration)
Grace period of the subscription, specified in ISO 8601 format.
|
AutoRenewingBasePlanType |
setLegacyCompatible(Boolean legacyCompatible)
Whether the renewing base plan is backward compatible.
|
AutoRenewingBasePlanType |
setLegacyCompatibleSubscriptionOfferId(String legacyCompatibleSubscriptionOfferId)
Subscription offer id which is legacy compatible.
|
AutoRenewingBasePlanType |
setProrationMode(String prorationMode)
The proration mode for the base plan determines what happens when a user switches to this plan
from another base plan.
|
AutoRenewingBasePlanType |
setResubscribeState(String resubscribeState)
Whether users should be able to resubscribe to this base plan in Google Play surfaces.
|
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 String getAccountHoldDuration()
null for nonepublic AutoRenewingBasePlanType setAccountHoldDuration(String accountHoldDuration)
accountHoldDuration - accountHoldDuration or null for nonepublic String getBillingPeriodDuration()
null for nonepublic AutoRenewingBasePlanType setBillingPeriodDuration(String billingPeriodDuration)
billingPeriodDuration - billingPeriodDuration or null for nonepublic String getGracePeriodDuration()
null for nonepublic AutoRenewingBasePlanType setGracePeriodDuration(String gracePeriodDuration)
gracePeriodDuration - gracePeriodDuration or null for nonepublic Boolean getLegacyCompatible()
null for nonepublic AutoRenewingBasePlanType setLegacyCompatible(Boolean legacyCompatible)
legacyCompatible - legacyCompatible or null for nonepublic String getLegacyCompatibleSubscriptionOfferId()
null for nonepublic AutoRenewingBasePlanType setLegacyCompatibleSubscriptionOfferId(String legacyCompatibleSubscriptionOfferId)
legacyCompatibleSubscriptionOfferId - legacyCompatibleSubscriptionOfferId or null for nonepublic String getProrationMode()
null for nonepublic AutoRenewingBasePlanType setProrationMode(String prorationMode)
prorationMode - prorationMode or null for nonepublic String getResubscribeState()
null for nonepublic AutoRenewingBasePlanType setResubscribeState(String resubscribeState)
resubscribeState - resubscribeState or null for nonepublic AutoRenewingBasePlanType set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AutoRenewingBasePlanType clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.