mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
35 lines (34 loc) • 1.15 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SponsorEntity = void 0;
var general_1 = require("../../general");
var SponsorEntity = /** @class */ (function () {
function SponsorEntity(data) {
this.id = '';
this.name = '';
this.doc = '';
this.createdAt = new Date();
this.fees = [];
this.docType = general_1.EDocType.CNPJ;
this.desenfilaMerchantId = null;
this.desenfilaContainerId = null;
this.natiRefId = null;
this.mobyoRefId = null;
this.from = general_1.EFrom.DEFAULT;
this.internationalCode = '';
this.phoneNumer = '';
this.email = '';
this.natiInfo = new general_1.InfoEntity();
this.mobyoInfo = new general_1.MobyoInfoEntity();
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return SponsorEntity;
}());
exports.SponsorEntity = SponsorEntity;