Subscription class

JSON template for a subscription.

Constructors

Subscription({String? billingMethod, String? creationTime, String? customerDomain, String? customerId, String? dealCode, String? kind, SubscriptionPlan? plan, String? purchaseOrderId, RenewalSettings? renewalSettings, String? resourceUiUrl, Seats? seats, String? skuId, String? skuName, String? status, String? subscriptionId, List<String>? suspensionReasons, SubscriptionTransferInfo? transferInfo, SubscriptionTrialSettings? trialSettings})
Subscription.fromJson(Map json_)

Properties

billingMethod String?
Read-only field that returns the current billing method for a subscription.
getter/setter pair
creationTime String?
The creationTime property is the date when subscription was created.
getter/setter pair
customerDomain String?
Primary domain name of the customer
getter/setter pair
customerId String?
This property will always be returned in a response as the unique identifier generated by Google.
getter/setter pair
dealCode String?
Google-issued code (100 char max) for discounted pricing on subscription plans.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Identifies the resource as a Subscription.
getter/setter pair
plan SubscriptionPlan?
The plan property is required.
getter/setter pair
purchaseOrderId String?
This is an optional property.
getter/setter pair
renewalSettings RenewalSettings?
Renewal settings for the annual commitment plan.
getter/setter pair
resourceUiUrl String?
URL to customer's Subscriptions page in the Admin console.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seats Seats?
This is a required property.
getter/setter pair
skuId String?
A required property.
getter/setter pair
skuName String?
Read-only external display name for a product's SKU assigned to a customer in the subscription.
getter/setter pair
status String?
This is an optional property.
getter/setter pair
subscriptionId String?
The subscriptionId is the subscription identifier and is unique for each customer.
getter/setter pair
suspensionReasons List<String>?
Read-only field containing an enumerable of all the current suspension reasons for a subscription.
getter/setter pair
transferInfo SubscriptionTransferInfo?
Read-only transfer related information for the subscription.
getter/setter pair
trialSettings SubscriptionTrialSettings?
The G Suite annual commitment and flexible payment plans can be in a 30-day free trial.
getter/setter pair

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