getBaseOffer

open fun getBaseOffer(productId: String): OfferInfo

Returns the "base" subscription offer — the one without trial or intro pricing phases. If every offer has a promo phase, falls back to the last offer in the list (Play's convention for the base plan).

Return

Base offer, or null if no subscription details are loaded.

Since

3.5.7

Parameters

productId

Subscription product id.