scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
32 lines (31 loc) • 1.04 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WithDrawRequestEntity = void 0;
var enums_1 = require("../enums");
var WithDrawRequestEntity = /** @class */ (function () {
// #endregion Properties (11)
// #region Constructors (1)
function WithDrawRequestEntity(data) {
// #region Properties (11)
this.amount = 0;
this.aprovedAt = null;
this.containerId = '';
this.createdAt = new Date();
this.id = '';
this.liveMode = false;
this.merchantId = '';
this.status = enums_1.EWithdrawRequestStatus.PENDING;
this.transactionId = null;
this.transferDocumentUrl = null;
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return WithDrawRequestEntity;
}());
exports.WithDrawRequestEntity = WithDrawRequestEntity;