SubscriptionsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Activates a subscription previously suspended by the reseller.
-
changePlan(ChangePlanRequest request, String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Updates a subscription plan.
-
changeRenewalSettings(RenewalSettings request, String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Updates a user license's renewal settings.
-
changeSeats(Seats request, String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Updates a subscription's user license settings.
-
delete(String customerId, String subscriptionId, String deletionType, {String? $fields})
→ Future<void>
-
Cancels, suspends, or transfers a subscription to direct.
-
get(String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Gets a specific subscription.
-
insert(Subscription request, String customerId, {String? action, String? customerAuthToken, String? sourceSkuId, String? $fields})
→ Future<Subscription>
-
Creates or transfer a subscription.
-
list({String? customerAuthToken, String? customerId, String? customerNamePrefix, int? maxResults, String? pageToken, String? $fields})
→ Future<Subscriptions>
-
Lists of subscriptions managed by the reseller.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
startPaidService(String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Immediately move a 30-day free trial subscription to a paid service
subscription.
-
suspend(String customerId, String subscriptionId, {String? $fields})
→ Future<Subscription>
-
Suspends an active subscription.
-
toString()
→ String
-
A string representation of this object.
inherited