@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
14 lines (13 loc) • 431 B
JavaScript
import { Urls } from './urls.js';
export class CustomerPortalSession {
id;
customerId;
urls;
createdAt;
constructor(customerPortalSessionResponse) {
this.id = customerPortalSessionResponse.id;
this.customerId = customerPortalSessionResponse.customer_id;
this.urls = new Urls(customerPortalSessionResponse.urls);
this.createdAt = customerPortalSessionResponse.created_at;
}
}