DVPurchaseChange class

Entitlements a customer gained or lost, after the change committed.

Constructors

DVPurchaseChange({required String customerKey, required DVStore store, required String originalTransactionId, required Set<String> granted, required Set<String> revoked, Set<String> consumed = const <String>{}, Set<String> refunded = const <String>{}, String? notificationId, DateTime? revokedAt})
const

Properties

consumed → Set<String>
Consumable product ids bought by this purchase, reported once: the application credits its balance from this.
final
customerKey → String
final
granted → Set<String>
final
hashCode → int
The hash code for this object.
no setterinherited
notificationId → String?
The notification that caused it, or null for a verified receipt.
final
originalTransactionId → String
final
refunded → Set<String>
Consumable product ids whose purchase the store took back: the application debits what consumed credited.
final
revoked → Set<String>
final
revokedAt → DateTime?
When the store took the purchase back -- a refund, a chargeback, a revocation -- or null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → DVStore
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