react-native-qonversion
Version:
Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co
37 lines • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Information about the Google product's price.
*/
class ProductPrice {
/**
* Total amount of money in micro-units,
* where 1,000,000 micro-units equal one unit of the currency.
*/
priceAmountMicros;
/**
* ISO 4217 currency code for price.
*/
priceCurrencyCode;
/**
* Formatted price for the payment, including its currency sign.
*/
formattedPrice;
/**
* True, if the price is zero. False otherwise.
*/
isFree;
/**
* Price currency symbol. Null if failed to parse.
*/
currencySymbol;
constructor(priceAmountMicros, priceCurrencyCode, formattedPrice, isFree, currencySymbol = null) {
this.priceAmountMicros = priceAmountMicros;
this.priceCurrencyCode = priceCurrencyCode;
this.formattedPrice = formattedPrice;
this.isFree = isFree;
this.currencySymbol = currencySymbol;
}
}
exports.default = ProductPrice;
//# sourceMappingURL=ProductPrice.js.map