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.

10 lines (9 loc) 382 B
import { Urls } from './urls.js'; export class CustomerPortalSession { constructor(customerPortalSessionResponse) { this.id = customerPortalSessionResponse.id; this.customerId = customerPortalSessionResponse.customer_id; this.urls = new Urls(customerPortalSessionResponse.urls); this.createdAt = customerPortalSessionResponse.created_at; } }