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.

8 lines (7 loc) 243 B
import { PaymentMethod } from '../../entities/index.js'; import { Collection } from '../../internal/base/index.js'; export class PaymentMethodCollection extends Collection { fromJson(data) { return new PaymentMethod(data); } }