onWinBackPurchase property

void Function(String packageIdentifier, String winBackOfferId)? onWinBackPurchase
final

The funnel wants this package purchased at its win-back offer (a purchase with "offer": "win_back" the visitor is eligible for). Buy it with Rovenue.purchase(product, winBackOffer:), the offer from Rovenue.eligibleWinBackOffers(product) whose identifier is winBackOfferId (iOS: StoreKit's offer id; Android: "<basePlanId>:<offerId>").

Implementation

final void Function(String packageIdentifier, String winBackOfferId)? onWinBackPurchase;