cecon-interfaces
Version:
Interfaces de Projetos Cecon
41 lines (40 loc) • 1.23 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IuguCustomerEntity = void 0;
var IuguCustomerEntity = /** @class */ (function () {
// #endregion Properties (21)
// #region Constructors (1)
function IuguCustomerEntity(data) {
// #region Properties (21)
this.ccEmails = '';
this.city = '';
this.complement = '';
this.cpfCnpj = '';
this.createdAt = new Date();
this.customVariables = [];
this.defaultPaymentMethodId = '';
this.district = '';
this.email = '';
this.id = '';
this.name = '';
this.notes = '';
this.number = '';
this.paymentMethods = [];
this.phone = '';
this.phonePrefix = '';
this.proxyPaymentsFromCustomerId = '';
this.state = '';
this.street = '';
this.updatedAt = new Date();
this.zipCode = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return IuguCustomerEntity;
}());
exports.IuguCustomerEntity = IuguCustomerEntity;