Offerings

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

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

Constructors

Link copied to clipboard
constructor(all: Map<String, Offering>, current: Offering?)

Properties

Link copied to clipboard

Dictionary of all Offerings Offering objects keyed by their identifier.

Link copied to clipboard

Current offering configured in the RevenueCat dashboard.

Functions

Link copied to clipboard
operator fun get(identifier: String): Offering?

Retrieves an specific offering by its identifier. It's equivalent to calling getOffering(identifier)

Link copied to clipboard
fun getOffering(identifier: String): Offering?

Retrieves an specific offering by its identifier.