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.

12 lines (11 loc) 438 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SubscriptionCollection = void 0; const index_js_1 = require("../../internal/base/index.js"); const subscription_js_1 = require("./subscription.js"); class SubscriptionCollection extends index_js_1.Collection { fromJson(data) { return new subscription_js_1.Subscription(data); } } exports.SubscriptionCollection = SubscriptionCollection;