UNPKG

mobyo-interfaces

Version:
32 lines (31 loc) 981 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NatipayTokenEntity = void 0; var NatipayTokenEntity = /** @class */ (function () { // #endregion Properties (12) // #region Constructors (1) function NatipayTokenEntity(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 NatipayTokenEntity; }()); exports.NatipayTokenEntity = NatipayTokenEntity;