@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
16 lines (15 loc) • 604 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Urls = void 0;
const general_js_1 = require("./general.js");
const customer_portal_subscription_url_js_1 = require("./customer-portal-subscription-url.js");
class Urls {
general;
subscriptions;
constructor(urlsResponse) {
this.general = new general_js_1.General(urlsResponse.general);
this.subscriptions =
urlsResponse.subscriptions?.map((subscription) => new customer_portal_subscription_url_js_1.CustomerPortalSubscriptionUrl(subscription)) ?? [];
}
}
exports.Urls = Urls;