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.

21 lines (20 loc) 538 B
export 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; } }