IapkitPurchaseState enum

Unified purchase states from IAPKit verification response.

Inheritance
Available extensions

Values

Entitled → const IapkitPurchaseState

User is entitled to the product (purchase is complete and active).

const IapkitPurchaseState('entitled')
PendingAcknowledgment → const IapkitPurchaseState

Receipt is valid but still needs server acknowledgment.

const IapkitPurchaseState('pending-acknowledgment')
Pending → const IapkitPurchaseState

Purchase is in progress or awaiting confirmation.

const IapkitPurchaseState('pending')
Canceled → const IapkitPurchaseState

Purchase was cancelled or refunded.

const IapkitPurchaseState('canceled')
Expired → const IapkitPurchaseState

Subscription or entitlement has expired.

const IapkitPurchaseState('expired')
ReadyToConsume → const IapkitPurchaseState

Consumable purchase is ready to be fulfilled.

const IapkitPurchaseState('ready-to-consume')
Consumed → const IapkitPurchaseState

Consumable item has been fulfilled/consumed.

const IapkitPurchaseState('consumed')
Unknown → const IapkitPurchaseState

Purchase state could not be determined.

const IapkitPurchaseState('unknown')
Inauthentic → const IapkitPurchaseState

Purchase receipt is not authentic (fraudulent or tampered).

const IapkitPurchaseState('inauthentic')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

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

Operators

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

Constants

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