PendingClaim class

A StoreKit purchase that the current user could claim from a different ZeroSettle account.

Surfaced when StoreKit sync detects a cross-user original-transaction-id conflict (the backend returns conflict: true, claim_available: true). The consuming app can render UX ("This purchase belongs to another account — transfer it?") and then call ZeroSettle.instance.transferStoreKitOwnershipToCurrentUser(productId: ...) to actually claim — or ignore.

Constructors

PendingClaim({required String productId, required String originalTransactionId, required String existingOwnerHint})
const
PendingClaim.fromMap(Map<String, dynamic> map)
factory

Properties

existingOwnerHint String
Truncated SHA256 hash of the existing owner's external_user_id.
final
hashCode int
The hash code for this object.
no setteroverride
originalTransactionId String
The Apple StoreKit originalTransactionId (stringified UInt64) of the purchase backing this claim.
final
productId String
The product identifier of the StoreKit purchase that could be claimed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override