awaitEligibleWinBackOffersForPackageEither

suspend fun <Error class: unknown class>.awaitEligibleWinBackOffersForPackageEither(packageToCheck: <Error class: unknown class>): Either<<Error class: unknown class>, List<<Error class: unknown class>>>

Fetches the win-back offers that a subscriber is eligible for on a given package.

iOS only. Requires iOS 18.0+ and StoreKit 2 and returns an Either with an error if these requirements aren't met.

Return

An Either.Right containing a List of WinBackOffers if successful, an Either.Left containing a PurchasesError in case of a failure.

Parameters

packageToCheck

: The package to check for eligible win-back offers on.