DVMemoryPurchaseLedger class
A ledger in memory, for tests and development. A restart loses it.
- Implemented types
Constructors
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
-
claimNotification(
DVStore store, String notificationId) → Future< bool> -
Records that
notificationIdis being applied. False when it already was: a replay.override -
find(
DVStore store, String originalTransactionId) → Future< DVPurchaseGrant?> -
override
-
forCustomer(
String customerKey) → Future< List< DVPurchaseGrant> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
DVPurchaseGrant grant) → Future< void> -
Writes
grant, replacing any grant for the same purchase.override -
releaseNotification(
DVStore store, String notificationId) → Future< void> -
Undoes a claim whose application failed, so the store's retry applies.
override
-
remove(
DVStore store, String originalTransactionId) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unacknowledged(
) → Future< List< DVPurchaseGrant> > -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited