Stream of Apple Pay availability state changes from the iOS Kit's
applePayAvailability.statePublisher. Each event is the raw string
("ready" / "setupRequired" / "unavailable"); the facade converts
to ApplePayAvailabilityState.
Stream of the currently-identified user id. Emits null on logout /
before identify. Mirrors Android SDK's StateFlow<String?> and the
iOS plugin's shadowed cache (Kit currentUserId is internal).
Raw stream of SDK analytics/lifecycle events. Each emission is a
Map<String, dynamic> with a "type" discriminator (camelCase).
The facade converts these to ZeroSettleEvent instances via
ZeroSettleEvent.fromMap.
Stream of product catalog snapshots. Mirrors the native SDK's
products state observable. Emits the current catalog on listen,
then every subsequent change.
Fetches the server-resolved offer for the currently-identified user.
Returns the raw UserOfferResponse wire map. The facade converts this
to UserOfferResponse.
Reads the current Apple Pay availability state once. Returned as a raw
string ("ready" / "setupRequired" / "unavailable"); the facade
converts to ApplePayAvailabilityState.
iOS only. Android intentionally returns a not_implemented error —
Android routes payment through Google Play User Choice Billing, and the
web payment sheet is presented internally by the SDK for upgrade/switch
offers rather than via this method.
Android peer of purchaseViaStoreKit. Routes through the Google Play
Billing dialog and returns the resulting CheckoutTransaction shape
(source == "play_store").
Returns the iOS-side handle ID for the migration manager scoped to the
currently-identified user and the optional stripeCustomerId. The
returned ID is opaque; pass it to MigrationManager.fromHandleId.
Returns the iOS-side handle ID for the offer manager scoped to the
currently-identified user and the optional stripeCustomerId. The
returned ID is opaque; pass it to OfferManager.fromHandleId.
Android peer of transferStoreKitOwnershipToCurrentUser. Takes both
productId and originalTransactionId (the Play purchase token) —
the SDK needs both to resolve the source purchase via the Play API.