UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

23 lines (22 loc) 978 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionCardProperties = void 0; var decimal_js_1 = require("decimal.js"); /** Transaction details. */ var TransactionCardProperties = /** @class */ (function () { /** @internal */ function TransactionCardProperties(json) { this.json = json; this.cardId = json.cardId; this.transactionAmount = new decimal_js_1.Decimal(json.transactionAmount); this.transactionCurrency = json.transactionCurrency; this.billingAmount = new decimal_js_1.Decimal(json.billingAmount); this.billingCurrency = json.billingCurrency; this.exchangeRateValue = new decimal_js_1.Decimal(json.exchangeRateValue); this.mcc = json.mcc; this.merchantName = json.merchantName; this.merchantCountry = json.merchantCountry; } return TransactionCardProperties; }()); exports.TransactionCardProperties = TransactionCardProperties;