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.

11 lines (10 loc) 337 B
export class SubscriptionManagement { updatePaymentMethod; cancel; constructor(subscriptionManagement) { this.updatePaymentMethod = subscriptionManagement.update_payment_method ? subscriptionManagement.update_payment_method : null; this.cancel = subscriptionManagement.cancel; } }