AdaptyProductSubscriptionDetails

class AdaptyProductSubscriptionDetails(    val basePlanId: String,     val offerId: String?,     val offerTags: ImmutableList<String>,     val renewalType: AdaptyProductSubscriptionDetails.RenewalType,     val subscriptionPeriod: AdaptyProductSubscriptionPeriod,     val localizedSubscriptionPeriod: String,     val introductoryOfferPhases: ImmutableList<AdaptyProductDiscountPhase>)

Constructors

Link copied to clipboard
constructor(    basePlanId: String,     offerId: String?,     offerTags: ImmutableList<String>,     renewalType: AdaptyProductSubscriptionDetails.RenewalType,     subscriptionPeriod: AdaptyProductSubscriptionPeriod,     localizedSubscriptionPeriod: String,     introductoryOfferPhases: ImmutableList<AdaptyProductDiscountPhase>)

Properties

Link copied to clipboard

A base plan of Google's subscription product.

Link copied to clipboard

User’s eligibility for your introductory offer. Check this property before displaying info about introductory offers.

Link copied to clipboard

A list that can contain up to two discount phases: the free trial phase and the introductory price phase.

Link copied to clipboard

A formatted subscription period of the discount phase for a user’s locale.

Link copied to clipboard

A discount offer for this basePlanId.

Link copied to clipboard

Tags defined in Google Play console for current basePlanId and offerId.

Link copied to clipboard

Indicates whether the subscription is auto-renewing or prepaid.

Link copied to clipboard

An information about the period for the discount phase.