PendingClaim class
A purchase that the current user could claim from a different ZeroSettle account.
Surfaced when a store sync detects a cross-user ownership 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 the matching transfer method to actually claim — or
ignore.
- StoreKit conflicts surface with originalTransactionId populated;
resolve via
transferStoreKitOwnershipToCurrentUser(productId:). - Play Billing conflicts additionally carry purchaseToken; resolve
via
transferPlayOwnershipToCurrentUser(productId:)— the SDK sources the token internally from this claim.
Constructors
- PendingClaim({required String productId, required String originalTransactionId, required String existingOwnerHint, String? purchaseToken})
-
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 purchase that could be claimed.
final
- purchaseToken → String?
-
The Google Play
purchaseTokenfor the conflicting purchase, when this claim originates from a Play Billing sync.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