UNPKG

cordova-plugin-qonversion

Version:
38 lines (37 loc) 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProductPrice = void 0; /** * 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.ProductPrice = ProductPrice;