public static final class Subscription.Plan
extends com.google.api.client.json.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.
|
com.google.api.client.util.GenericData.Flags| 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.
|
java.lang.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.
|
java.lang.String |
getPlanName()
The planName property is required.
|
Subscription.Plan |
set(java.lang.String fieldName,
java.lang.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(java.lang.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(java.lang.String planName)
The planName property is required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Subscription.Plan.CommitmentInterval getCommitmentInterval()
null for nonepublic Subscription.Plan setCommitmentInterval(Subscription.Plan.CommitmentInterval commitmentInterval)
commitmentInterval - commitmentInterval or null for nonepublic java.lang.Boolean getIsCommitmentPlan()
null for nonepublic Subscription.Plan setIsCommitmentPlan(java.lang.Boolean isCommitmentPlan)
isCommitmentPlan - isCommitmentPlan or null for nonepublic java.lang.String getPlanName()
null for nonepublic Subscription.Plan setPlanName(java.lang.String planName)
planName - planName or null for nonepublic Subscription.Plan set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Subscription.Plan clone()
clone in class com.google.api.client.json.GenericJson