UNPKG

cecon-interfaces

Version:
30 lines (29 loc) 994 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCardConfigEntity = void 0; var __1 = require("../.."); var general_1 = require("../../../general"); var PayioCardConfigEntity = /** @class */ (function () { function PayioCardConfigEntity(data) { this.appIds = []; this.companies = []; this.description = null; this.discountAmount = 0; this.discountAmountType = general_1.EAmountMode.PERCENTAGE; this.items = []; this.itemsRule = __1.EItemsRule.INCLUDED_ONLY; this.key = null; this.keyType = __1.EPayioCardKeyType.CPF; this.label = ''; this.password = null; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioCardConfigEntity; }()); exports.PayioCardConfigEntity = PayioCardConfigEntity;