Purchase class sealed

Implemented types
Implementers
Available extensions

Constructors

Purchase.fromJson(Map<String, dynamic> json)
factory

Properties

androidIsAcknowledged → bool?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
androidPurchaseStateValue → int?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
currentPlanId → String?
The current plan identifier. This is:
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setteroverride
ids → List<String>?
no setteroverride
iosOriginalTransactionId → String?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
iosQuantity → int?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
iosTransactionState → TransactionState?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
isAutoRenewing → bool
no setteroverride
platform → IapPlatform
@deprecated Use store instead. Scheduled for removal in OpenIAP 3.0.
no setteroverride
productId → String
no setteroverride
purchaseState → PurchaseState
no setteroverride
purchaseToken → String?
Unified purchase token (iOS JWS, Android purchaseToken)
no setteroverride
quantity → int
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → IapStore
Store where purchase was made
no setteroverride
transactionDate → double
Unix timestamp in milliseconds since January 1, 1970 UTC.
no setteroverride
transactionIdFor → String?

Available on Purchase, provided by the PurchaseHelpers extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toInput() → PurchaseInput

Available on Purchase, provided by the PurchaseInputConversion extension

toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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