Package com.adapty.models
Class AdaptyPaywallProduct.Price
-
- All Implemented Interfaces:
public final class AdaptyPaywallProduct.Price
-
-
Field Summary
Fields Modifier and Type Field Description private final BigDecimalamountprivate final StringlocalizedStringprivate final StringcurrencyCodeprivate final StringcurrencySymbol
-
Constructor Summary
Constructors Constructor Description AdaptyPaywallProduct.Price(BigDecimal amount, String localizedString, String currencyCode, String currencySymbol)
-
Method Summary
Modifier and Type Method Description final BigDecimalgetAmount()The cost of the product in the local currency. final StringgetLocalizedString()The formatted price from Google Play as is. final StringgetCurrencyCode()The currency code of the locale used to format the price of the product. final StringgetCurrencySymbol()The currency symbol of the locale used to format the price of the product. Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Constructor Detail
-
AdaptyPaywallProduct.Price
AdaptyPaywallProduct.Price(BigDecimal amount, String localizedString, String currencyCode, String currencySymbol)
-
-
Method Detail
-
getAmount
final BigDecimal getAmount()
The cost of the product in the local currency.
-
getLocalizedString
final String getLocalizedString()
The formatted price from Google Play as is.
-
getCurrencyCode
final String getCurrencyCode()
The currency code of the locale used to format the price of the product.
-
getCurrencySymbol
final String getCurrencySymbol()
The currency symbol of the locale used to format the price of the product.
-
-
-
-