UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

25 lines (24 loc) 673 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClientToken = void 0; class ClientToken { id; token; name; description; status; createdAt; updatedAt; revokedAt; constructor(clientToken) { this.id = clientToken.id; this.token = clientToken.token; this.name = clientToken.name; this.description = clientToken.description ?? null; this.status = clientToken.status; this.createdAt = clientToken.created_at; this.updatedAt = clientToken.updated_at; this.revokedAt = clientToken.revoked_at ?? null; } } exports.ClientToken = ClientToken;