UNPKG

cannoli-interfaces

Version:
36 lines (35 loc) 1.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WithDrawRequestEntity = void 0; var general_1 = require("../../general"); 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.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.natiInfo = new general_1.InfoEntity(); this.cannoliInfo = new general_1.CannoliInfoEntity(); this.desenfilaInfo = new general_1.DesenfilaInfoEntity(); this.name = ''; this.refusalReason = null; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return WithDrawRequestEntity; }()); exports.WithDrawRequestEntity = WithDrawRequestEntity;