cecon-interfaces
Version:
Interfaces de Projetos Cecon
83 lines (82 loc) • 2.68 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IuguInvoiceEntity = void 0;
var IuguInvoiceEntity = /** @class */ (function () {
// #endregion Properties (114)
// #region Constructors (1)
function IuguInvoiceEntity(data) {
// #region Properties (114)
this.accountId = '';
this.accountName = '';
this.bankAccountBranch = '';
this.bankAccountNumber = '';
this.bankSlip = null;
this.bankSlipExtraDue = 0;
this.commission = '';
this.createdAt = '';
this.createdAtIso = '';
this.creditCardTransaction = '';
this.currency = '';
this.customVariables = [];
this.discountCents = 0;
this.dueDate = '';
this.earlyPaymentDiscount = false;
this.earlyPaymentDiscounts = [];
this.email = '';
this.finesOnOccurrenceDay = '';
this.finesOnOccurrenceDayCents = 0;
this.id = '';
this.ignoreCanceledEmail = false;
this.ignoreDueEmail = false;
this.items = [];
this.itemsTotalCents = 0;
this.latePaymentFineCents = 0;
this.logs = [];
this.notificationUrl = '';
this.paid = '';
this.payableWith = '';
this.payerAddressCity = '';
this.payerAddressCountry = '';
this.payerAddressDistrict = '';
this.payerAddressNumber = '';
this.payerAddressState = '';
this.payerAddressStreet = '';
this.payerAddressZipCode = '';
this.payerCpfCnpj = '';
this.payerName = '';
this.payerPhone = '';
this.payerPhonePrefix = '';
this.perDayInterest = false;
this.perDayInterestCents = 0;
this.pix = {};
this.refundedCents = 0;
this.remainingCapturedCents = 0;
this.returnUrl = '';
this.secureId = '';
this.secureUrl = '';
this.status = '';
this.taxCents = 0;
this.taxesPaid = '';
this.total = '';
this.totalCents = 0;
this.totalOnOccurrenceDay = '';
this.totalOnOccurrenceDayCents = 0;
this.totalOverpaid = '';
this.totalPaid = '';
this.totalPaidCents = 0;
this.totalRefunded = '';
this.transactionNumber = 0;
this.updatedAt = '';
this.userId = '';
this.variables = [];
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return IuguInvoiceEntity;
}());
exports.IuguInvoiceEntity = IuguInvoiceEntity;