mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
32 lines (31 loc) • 969 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioTokenEntity = void 0;
var PayioTokenEntity = /** @class */ (function () {
// #endregion Properties (12)
// #region Constructors (1)
function PayioTokenEntity(data) {
// #region Properties (12)
this.createdAt = new Date();
this.deviceId = null;
this.expiresAt = new Date();
this.id = '';
this.ipAddress = null;
this.isRevoked = false;
this.refreshToken = '';
this.revokedAt = null;
this.sandbox = false;
this.updatedAt = new Date();
this.userAgent = null;
this.userId = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioTokenEntity;
}());
exports.PayioTokenEntity = PayioTokenEntity;