cecon-interfaces
Version:
Interfaces de Projetos Cecon
32 lines (31 loc) • 1.05 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NatipayCardConfigEntity = void 0;
var general_1 = require("../../../general");
var NatipayCardConfigEntity = /** @class */ (function () {
function NatipayCardConfigEntity(data) {
this.appIds = [];
this.balance = 0;
this.billingCycle = general_1.ECycle.NONE;
this.companies = [];
this.creditLimit = 0;
this.description = null;
this.discountAmount = 0;
this.discountAmountType = general_1.EAmountMode.PERCENTAGE;
this.dueDate = new Date();
this.invoiceLogs = [];
this.items = [];
this.key = null;
this.password = null;
this.webhookUrls = [];
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return NatipayCardConfigEntity;
}());
exports.NatipayCardConfigEntity = NatipayCardConfigEntity;