scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
26 lines (25 loc) • 885 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerCreditLimitEntity = void 0;
var type_enum_1 = require("../enums/type.enum");
var CustomerCreditLimitEntity = /** @class */ (function () {
// #endregion Properties (8)
// #region Constructors (1)
function CustomerCreditLimitEntity(data) {
// #region Properties (8)
this.amountUsed = 0;
this.currentBalance = 0;
this.creditLimit = 0;
this.customerId = '';
this.type = type_enum_1.ECustomerCreditLimitType.RESETTABLE;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return CustomerCreditLimitEntity;
}());
exports.CustomerCreditLimitEntity = CustomerCreditLimitEntity;