SubscriptionPlanGroup class

A subscription plan group containing multiple subscription plans.

Constructors

SubscriptionPlanGroup.new({String? id, String? name, String? currency, String? created, List<SubscriptionPlan>? plans})
const
SubscriptionPlanGroup.fromJson(dynamic data)
Create a SubscriptionPlanGroup from JSON.
factory

Properties

created String?
Timestamp of when the plan group was created.
final
currency String?
ISO-4217 currency code (e.g. "USD" or "EUR").
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier of the plan group.
final
name String?
Human-readable name of the plan group.
final
plans List<SubscriptionPlan>?
List of subscription plans within this group.
final
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>
Convert this object to JSON, preserving the API's snake-case keys.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited