public static final class Subscription.TrialSettings extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TrialSettings() |
| Modifier and Type | Method and Description |
|---|---|
Subscription.TrialSettings |
clone() |
Boolean |
getIsInTrial()
Determines if a subscription's plan is in a 30-day free trial or not: - `true` — The plan is in
trial.
|
Long |
getTrialEndTime()
Date when the trial ends.
|
Subscription.TrialSettings |
set(String fieldName,
Object value) |
Subscription.TrialSettings |
setIsInTrial(Boolean isInTrial)
Determines if a subscription's plan is in a 30-day free trial or not: - `true` — The plan is in
trial.
|
Subscription.TrialSettings |
setTrialEndTime(Long trialEndTime)
Date when the trial ends.
|
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 Boolean getIsInTrial()
null for nonepublic Subscription.TrialSettings setIsInTrial(Boolean isInTrial)
isInTrial - isInTrial or null for nonepublic Long getTrialEndTime()
null for nonepublic Subscription.TrialSettings setTrialEndTime(Long trialEndTime)
trialEndTime - trialEndTime or null for nonepublic Subscription.TrialSettings set(String fieldName, Object value)
set in class GenericJsonpublic Subscription.TrialSettings clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.