UNPKG

@hydro-protocol/hydro-client-js

Version:
16 lines (15 loc) 472 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Order_1 = require("./Order"); /** * A paginated list of orders */ var OrderList = /** @class */ (function () { function OrderList(json) { this.totalPages = json.totalPages; this.currentPage = json.currentPage; this.orders = json.orders.map(function (order) { return new Order_1.Order(order); }); } return OrderList; }()); exports.OrderList = OrderList;