PurchasesSubscriptionsResourceApi class

Constructors

PurchasesSubscriptionsResourceApi(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

acknowledge(SubscriptionPurchasesAcknowledgeRequest request, String packageName, String subscriptionId, String token, {String $fields}) Future
Acknowledges a subscription purchase. [...]
cancel(String packageName, String token, {String $fields}) Future
Cancels a user's subscription purchase. The subscription remains valid until its expiration time. [...]
defer(SubscriptionPurchasesDeferRequest request, String packageName, String subscriptionId, String token, {String $fields}) Future<SubscriptionPurchasesDeferResponse>
Defers a user's subscription purchase until a specified future expiration time. [...]
get(String packageName, String subscriptionId, String token, {String $fields}) Future<SubscriptionPurchase>
Checks whether a user's subscription purchase is valid and returns its expiry time. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
refund(String packageName, String subscriptionId, String token, {String $fields}) Future
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. [...]
revoke(String packageName, String subscriptionId, String token, {String $fields}) Future
Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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