getOffers

open fun getOffers(productId: String): List<OfferInfo>

Returns every subscription offer attached to the given product, mapped to a typed OfferInfo (trial / intro / base phases classified by recurrence and price rather than list position).

Use this when a single subscription product has multiple offers — e.g. a base plan, a 7-day free-trial offer, and a 50%-off introductory offer — and the paywall needs to render each option.

Return

Immutable List of offers (never null). Empty when the product is not a subscription or its details have not been loaded.

Since

3.5.7

Parameters

productId

Subscription product id.