UNPKG

mobyo-interfaces

Version:
31 lines (30 loc) 908 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioAppEntity = void 0; var enums_1 = require("../enums"); var PayioAppEntity = /** @class */ (function () { // #endregion Properties (10) // #region Constructors (1) function PayioAppEntity(data) { // #region Properties (10) this.active = false; this.description = ''; this.downloadUrl = ''; this.id = ''; this.name = ''; this.price = 0; this.secret = ''; this.slug = enums_1.EPayuioAppSlug.none; this.tags = []; 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;