@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) • 563 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerPortalSession = void 0;
const urls_js_1 = require("./urls.js");
class CustomerPortalSession {
constructor(customerPortalSessionResponse) {
this.id = customerPortalSessionResponse.id;
this.customerId = customerPortalSessionResponse.customer_id;
this.urls = new urls_js_1.Urls(customerPortalSessionResponse.urls);
this.createdAt = customerPortalSessionResponse.created_at;
}
}
exports.CustomerPortalSession = CustomerPortalSession;