cecon-interfaces
Version:
Interfaces de Projetos Cecon
37 lines (36 loc) • 1.22 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GlobalSettingFirebankEntity = void 0;
var GlobalSettingFirebankEntity = /** @class */ (function () {
function GlobalSettingFirebankEntity(data) {
this.access_token = '';
this.active = false;
this.apiKey = '';
this.baseUrl = '';
this.basicAuth64 = '';
this.certificate = '';
this.clientId = '';
this.clientSecret = '';
this.expires_in = 0;
this.fee = 0;
this.feeMode = 'FIXED';
this.id = 'FIREBANK';
this.password = '';
this.token_type = '';
this.userName = '';
this.withDrawScheduledTax = 1.16;
this.withDrawTax = 0.97;
// Interval in seconds (default to 300 seconds = 5 minutes)
this.withdrawAutoInterval = 300;
this.withdrawAutoMaxAmount = 0;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return GlobalSettingFirebankEntity;
}());
exports.GlobalSettingFirebankEntity = GlobalSettingFirebankEntity;