Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@fbinhouse/spark-client / dist / client / utils / convertToDisplayPrice.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var displayPrice_1 = require("../displayPrice");
function convertToDisplayPrice(price) {
    var displayPrice = new displayPrice_1.default();
    displayPrice.useText = price.use_text;
    displayPrice.text = price.text;
    displayPrice.priceValue = price.price_value;
    displayPrice.decimals = price.decimals;
    displayPrice.currencySymbol = price.currency_symbol;
    displayPrice.currencyIsPrefixed = price.currency_is_prefixed;
    return displayPrice;
}
exports.convertToDisplayPrice = convertToDisplayPrice;
exports.default = convertToDisplayPrice;
//# sourceMappingURL=convertToDisplayPrice.js.map