UNPKG

cecon-interfaces

Version:
30 lines (29 loc) 944 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCatalogEntity = void 0; var enums_1 = require("../enums"); var PayioCatalogEntity = /** @class */ (function () { function PayioCatalogEntity(data) { this.active = true; this.categories = []; this.companyId = ''; this.containerId = null; this.createdAt = new Date(); this.engine = enums_1.EPayioEngines.NONE; this.id = ''; this.name = ''; this.sandbox = false; this.status = enums_1.EPayioCatalogStatus.AVAILABLE; this.tags = []; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioCatalogEntity; }()); exports.PayioCatalogEntity = PayioCatalogEntity;