purchases / com.revenuecat.purchases / Offering

Offering

data class Offering : Parcelable

Most well monetized subscription apps provide many different offerings to purchase an entitlement. These are usually associated with different durations i.e. an annual plan and a monthly plan. See this link for more info

Types

CREATOR

companion object CREATOR : Creator<Offering>

Constructors

<init>

Offering(parcel: Parcel)

Properties

activeProductIdentifier

val activeProductIdentifier: String

The currently active Play Store product for this offering

skuDetails

var skuDetails: SkuDetails?

Object containing an in-app product's or subscription's listing details

Functions

describeContents

fun describeContents(): Int

toString

fun toString(): String

writeToParcel

fun writeToParcel(parcel: Parcel, flags: Int): Unit

Companion Object Functions

createFromParcel

fun createFromParcel(parcel: Parcel): Offering

newArray

fun newArray(size: Int): Array<Offering?>