SubscriptionPlan class
The plan
property is required.
In this version of the API, the G Suite plans are the flexible plan, annual commitment plan, and the 30-day free trial plan. For more information about the API"s payment plans, see the API concepts.
Constructors
- SubscriptionPlan({SubscriptionPlanCommitmentInterval? commitmentInterval, bool? isCommitmentPlan, String? planName})
- SubscriptionPlan.fromJson(Map json_)
Properties
- commitmentInterval ↔ SubscriptionPlanCommitmentInterval?
-
In this version of the API, annual commitment plan's interval is one year.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCommitmentPlan ↔ bool?
-
The
isCommitmentPlan
property's boolean value identifies the plan as an annual commitment plan: -true
— The subscription's plan is an annual commitment plan.getter/setter pair - planName ↔ String?
-
The
planName
property is required.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited