API reference

Product

Updated: Mar 19, 2025

Product

data class Product(val id: String⁠, val offerToken: String⁠, val type: String⁠)

Constructors

NameSummary
Product
constructor(id: String⁠, offerToken: String⁠, type: String⁠)

Properties

NameSummary
id
val id: String⁠
The id of the product being purchased.
offerToken
val offerToken: String⁠
Offer token that was passed in BillingClient.launchBillingFlow to purchase the product.
type
val type: String⁠
The BillingClient.ProductType of the product being purchased.