PurchaseStateWrapper enum

Inheritance
Available extensions
Annotations
  • @JsonEnum(alwaysCreate: true)

Values

unspecified_state → const PurchaseStateWrapper

The state is unspecified.

No actions on the PurchaseWrapper should be performed on this state. This is a catch-all. It should never be returned by the Play Billing Library.

purchased → const PurchaseStateWrapper

The user has completed the purchase process.

The production should be delivered and then the purchase should be acknowledged.

pending → const PurchaseStateWrapper

The user has started the purchase process.

The user should follow the instructions that were given to them by the Play Billing Library to complete the purchase.

You can also choose to remind the user to complete the purchase if you detected a PurchaseWrapper is still in the pending state in the future while calling BillingClient.queryPurchases.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<PurchaseStateWrapper>
A constant List of the values in this enum, in order of their declaration.