PurchasesSubscriptionsResource class

Constructors

PurchasesSubscriptionsResource(ApiRequester client)

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

acknowledge(SubscriptionPurchasesAcknowledgeRequest request, String packageName, String subscriptionId, String token, {String? $fields}) Future<void>
Acknowledges a subscription purchase.
cancel(String packageName, String subscriptionId, String token, {String? $fields}) Future<void>
Cancels a user's subscription purchase.
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 nonexistent method or property is accessed.
inherited
refund(String packageName, String subscriptionId, String token, {String? $fields}) Future<void>
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<void>
Refunds and immediately revokes a user's subscription purchase.
toString() String
A string representation of this object.
inherited

Operators

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