DVPurchaseLedger class abstract

Where grants are kept.

This is the server-side table the generated entitlement models are read from. It is not a second entitlement store: there is no DV.Entitlements, and nothing on a device reads it directly.

Constructors

DVPurchaseLedger()

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 notificationId is being applied. False when it already was: a replay.
find(DVStore store, String originalTransactionId) → Future<DVPurchaseGrant?>
forCustomer(String customerKey) → Future<List<DVPurchaseGrant>>
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.
releaseNotification(DVStore store, String notificationId) → Future<void>
Undoes a claim whose application failed, so the store's retry applies.
remove(DVStore store, String originalTransactionId) → Future<void>
toString() → String
A string representation of this object.
inherited
unacknowledged() → Future<List<DVPurchaseGrant>>

Operators

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