Subscription class
- Inheritance
- Object
- IDisposable
- Subscription
Constructors
- Subscription(IuguClient client)
Properties
- apiResource ↔ APIResource
-
read / write
- 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 id) → Future< SubscriptionModel> -
addCreditsAsync(
String id, int quantity) → Future< SubscriptionModel> -
changePlan(
String id, String planIdentifier) → Future< SubscriptionModel> -
create(
{SubscriptionRequestMessage request, String customApiToken}) → Future< SubscriptionModel> - Cria uma assinatura para um cliente cadastrado
-
delete(
{String id, String customApiToken}) → Future< SubscriptionModel> -
dispose(
) → void -
Disposes controllers, streams, etc.
override
-
get(
{String id, String partOfUrl, String apiUserToken}) → Future< PaggedResponseMessage< SubscriptionModel> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
put(
{String id, SubscriptionModel model}) → Future< SubscriptionModel> -
suspend(
String id) → Future< SubscriptionModel> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited