API reference

SubscriptionOfferDetails

Updated: Mar 19, 2025

SubscriptionOfferDetails

data class SubscriptionOfferDetails(val basePlanId: String⁠, val installmentPlanDetails: ProductDetails.InstallmentPlanDetails, val offerId: String⁠?, val offerTags: List⁠<String⁠>, val offerToken: String⁠, val pricingPhases: ProductDetails.PricingPhases)
Represents the available purchase plans to buy a subscription product.

Constructors

NameSummary
SubscriptionOfferDetails
constructor(basePlanId: String⁠, installmentPlanDetails: ProductDetails.InstallmentPlanDetails, offerId: String⁠?, offerTags: List⁠<String⁠>, offerToken: String⁠, pricingPhases: ProductDetails.PricingPhases)

Properties

NameSummary
basePlanId
val basePlanId: String⁠
The base plan id associated with the subscription product.
installmentPlanDetails
val installmentPlanDetails: ProductDetails.InstallmentPlanDetails
The additional details of an installment plan.
offerId
val offerId: String⁠?
The the offer id associated with the subscription product.
offerTags
val offerTags: List⁠<String⁠>
The offer tags associated with this Subscription Offer.
offerToken
val offerToken: String⁠
The offer token required to pass in launchBillingFlow to purchase the subscription product with these pricing phases.
pricingPhases
val pricingPhases: ProductDetails.PricingPhases
The pricing phases for the subscription product.