UNPKG

cecon-interfaces

Version:
36 lines (35 loc) 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioAppEntity = void 0; var enums_1 = require("../enums"); var PayioAppEntity = /** @class */ (function () { function PayioAppEntity(data) { this.active = false; this.clientKey = null; this.clientSecret = null; this.createdAt = new Date(); this.description = ''; this.downloadUrl = ''; this.expiresAt = null; this.expiresIn = null; this.id = ''; this.name = ''; this.price = 0; this.refreshToken = null; this.secret = ''; this.slug = enums_1.EPayioAppSlug.none; this.tags = []; this.accessToken = null; this.updatedAt = new Date(); this.version = '0.0.1'; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioAppEntity; }()); exports.PayioAppEntity = PayioAppEntity;