SubscriptionsResourceApi class

Constructors

SubscriptionsResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

activate(String customerId, String subscriptionId) Future<Subscription>
Activates a subscription previously suspended by the reseller [...]
changePlan(ChangePlanRequest request, String customerId, String subscriptionId) Future<Subscription>
Changes the plan of a subscription [...]
changeRenewalSettings(RenewalSettings request, String customerId, String subscriptionId) Future<Subscription>
Changes the renewal settings of a subscription [...]
changeSeats(Seats request, String customerId, String subscriptionId) Future<Subscription>
Changes the seats configuration of a subscription [...]
delete(String customerId, String subscriptionId, String deletionType) Future
Cancels/Downgrades a subscription. [...]
get(String customerId, String subscriptionId) Future<Subscription>
Gets a subscription of the customer. [...]
insert(Subscription request, String customerId, { String customerAuthToken }) Future<Subscription>
Creates/Transfers a subscription for the customer. [...]
list({String customerAuthToken, String customerId, String customerNamePrefix, int maxResults, String pageToken }) Future<Subscriptions>
Lists subscriptions of a reseller, optionally filtered by a customer name prefix. [...]
startPaidService(String customerId, String subscriptionId) Future<Subscription>
Starts paid service of a trial subscription [...]
suspend(String customerId, String subscriptionId) Future<Subscription>
Suspends an active subscription [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited