commonMain.com.revenuecat.purchases.kmp.models.Price.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purchases-kmp-models Show documentation
Show all versions of purchases-kmp-models Show documentation
Mobile subscriptions in hours, not months.
package com.revenuecat.purchases.kmp.models
/**
* Represents a monetary price.
* @property formatted Formatted price of the item, including its currency sign. For example $3.00.
* @property amountMicros Price in micro-units, where 1,000,000 micro-units equal one unit of the currency.
* For example, if price is "€7.99", price_amount_micros is 7,990,000. This value represents
* the localized, rounded price for a particular currency.
* @property currencyCode Returns ISO 4217 currency code for price and original price.
* For example, if price is specified in British pounds sterling, price_currency_code is "GBP".
* If currency code cannot be determined, currency symbol is returned.
*/
public class Price(
public val formatted: String,
public val amountMicros: Long,
public val currencyCode: String,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy