UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

18 lines (17 loc) 680 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ComposedExchange = void 0; var Account_1 = require("./Account"); var Quote_1 = require("./Quote"); /** Result of the compose exchange method on {@link Wallet Wallet} object. */ var ComposedExchange = /** @class */ (function () { /** @internal */ function ComposedExchange(json) { this.json = json; this.debitAccount = new Account_1.Account(json.debitAccount); this.creditAccount = new Account_1.Account(json.creditAccount); this.quote = new Quote_1.Quote(json.quote); } return ComposedExchange; }()); exports.ComposedExchange = ComposedExchange;