cecon-interfaces
Version:
Interfaces de Projetos Cecon
37 lines (36 loc) • 1.3 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransferRequestEntity = void 0;
var general_1 = require("../../general");
var enums_1 = require("../../withdraw/enums");
var TransferRequestEntity = /** @class */ (function () {
function TransferRequestEntity(data) {
// #region Properties (11)
this.amount = 0;
this.aprovedAt = null;
this.containerId = '';
this.merchantId = '';
this.createdAt = new Date();
this.id = '';
this.liveMode = false;
this.status = enums_1.EWithdrawRequestStatus.PENDING;
this.transactionId = null;
this.transferDocumentUrl = null;
this.updatedAt = new Date();
this.transactionReferenceId = null;
this.naiRefId = '';
this.pix = null;
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 TransferRequestEntity;
}());
exports.TransferRequestEntity = TransferRequestEntity;