@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
9 lines (8 loc) • 345 B
JavaScript
export class SubscriptionDiscount {
constructor(subscriptionDiscount) {
var _a, _b;
this.id = subscriptionDiscount.id;
this.startsAt = (_a = subscriptionDiscount.starts_at) !== null && _a !== void 0 ? _a : null;
this.endsAt = (_b = subscriptionDiscount.ends_at) !== null && _b !== void 0 ? _b : null;
}
}