DVStoreDeviceTransaction class
A transaction as the device's store reports it. Not evidence of anything until the server has verified receipt.
Constructors
- DVStoreDeviceTransaction({required DVStore store, required String storeProductId, required String transactionId, required String receipt, DVStoreTransactionState state = DVStoreTransactionState.purchased, int quantity = 1})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- quantity → int
-
final
- receipt → String
-
What the server verifies: the StoreKit 2 signed transaction (JWS), or
the Play purchase as JSON with its token, product and type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → DVStoreTransactionState
-
final
- store → DVStore
-
final
- storeProductId → String
-
final
- transactionId → String
-
final
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