public / com.revenuecat.purchases / Offerings

Offerings

data class Offerings : Parcelable

This class contains all the offerings configured in RevenueCat dashboard. For more info see https://docs.revenuecat.com/docs/entitlements

Constructors

<init>

This class contains all the offerings configured in RevenueCat dashboard. For more info see https://docs.revenuecat.com/docs/entitlements

Offerings(current: Offering?, all: Map<String, Offering>)

Properties

all

Dictionary of all Offerings Offering objects keyed by their identifier.

val all: Map<String, Offering>

current

Current offering configured in the RevenueCat dashboard.

val current: Offering?

Functions

get

Retrieves an specific offering by its identifier. It's equivalent to calling getOfferingidentifier

operator fun get(identifier: String): Offering?

getOffering

Retrieves an specific offering by its identifier.

fun getOffering(identifier: String): Offering?