mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
43 lines (42 loc) • 1.42 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioDistributorEntity = void 0;
var general_1 = require("../../../general");
var company_1 = require("../../company");
var enums_1 = require("../enums");
var PayioDistributorEntity = /** @class */ (function () {
// #endregion Properties (20)
// #region Constructors (1)
function PayioDistributorEntity(data) {
// #region Properties (20)
this.actions = [];
this.address = new company_1.PayioAddressEntity();
this.contratoSocialPdfUrl = null;
this.createdAt = new Date();
this.doc = '';
this.docType = general_1.EDocType.CNPJ;
this.email = '';
this.id = '';
this.imageUrl = null;
this.internationalCode = '55';
this.logoUrl = null;
this.logs = [];
this.name = '';
this.phoneNumber = '';
this.responsibles = [];
this.sandbox = false;
this.slug = '';
this.status = enums_1.EPayioDistributorStatus.PLACED;
this.tags = [];
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioDistributorEntity;
}());
exports.PayioDistributorEntity = PayioDistributorEntity;