public static final class Subscription.Plan extends GenericJson
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.Plan.CommitmentInterval
In this version of the API, annual commitment plan's interval is one year.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Plan() |
| Modifier and Type | Method and Description |
|---|---|
Subscription.Plan |
clone() |
Subscription.Plan.CommitmentInterval |
getCommitmentInterval()
In this version of the API, annual commitment plan's interval is one year.
|
Boolean |
getIsCommitmentPlan()
The `isCommitmentPlan` property's boolean value identifies the plan as an annual commitment
plan: - `true` — The subscription's plan is an annual commitment plan.
|
String |
getPlanName()
The `planName` property is required.
|
Subscription.Plan |
set(String fieldName,
Object value) |
Subscription.Plan |
setCommitmentInterval(Subscription.Plan.CommitmentInterval commitmentInterval)
In this version of the API, annual commitment plan's interval is one year.
|
Subscription.Plan |
setIsCommitmentPlan(Boolean isCommitmentPlan)
The `isCommitmentPlan` property's boolean value identifies the plan as an annual commitment
plan: - `true` — The subscription's plan is an annual commitment plan.
|
Subscription.Plan |
setPlanName(String planName)
The `planName` property is required.
|
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 Subscription.Plan.CommitmentInterval getCommitmentInterval()
null for nonepublic Subscription.Plan setCommitmentInterval(Subscription.Plan.CommitmentInterval commitmentInterval)
commitmentInterval - commitmentInterval or null for nonepublic Boolean getIsCommitmentPlan()
null for nonepublic Subscription.Plan setIsCommitmentPlan(Boolean isCommitmentPlan)
isCommitmentPlan - isCommitmentPlan or null for nonepublic String getPlanName()
null for nonepublic Subscription.Plan setPlanName(String planName)
planName - planName or null for nonepublic Subscription.Plan set(String fieldName, Object value)
set in class GenericJsonpublic Subscription.Plan clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.