API reference

OneTimePurchaseOfferDetails

Updated: Mar 19, 2025

OneTimePurchaseOfferDetails

data class OneTimePurchaseOfferDetails(val formattedPrice: String⁠, val priceAmountMicros: Long⁠, val priceCurrencyCode: String⁠)
Represents the offer details to buy an one-time purchase product.

Constructors

NameSummary
OneTimePurchaseOfferDetails
constructor(formattedPrice: String⁠, priceAmountMicros: Long⁠, priceCurrencyCode: String⁠)

Properties

NameSummary
formattedPrice
val formattedPrice: String⁠
The formatted price for the payment, including its currency sign.
priceAmountMicros
val priceAmountMicros: Long⁠
The price for the payment in micro-units, where 1,000,000 micro-units equal one unit of the currency.
priceCurrencyCode
val priceCurrencyCode: String⁠
ISO 4217 currency code for price.