@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) • 390 B
JavaScript
export class SubscriptionScheduledChangeNotification {
action;
effectiveAt;
resumeAt;
constructor(subscriptionScheduledChange) {
this.action = subscriptionScheduledChange.action;
this.effectiveAt = subscriptionScheduledChange.effective_at;
this.resumeAt = subscriptionScheduledChange.resume_at ? subscriptionScheduledChange.resume_at : null;
}
}