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.

15 lines (14 loc) 487 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SubscriptionDiscountNotification = void 0; class SubscriptionDiscountNotification { id; startsAt; endsAt; constructor(subscriptionDiscount) { this.id = subscriptionDiscount.id; this.startsAt = subscriptionDiscount.starts_at; this.endsAt = subscriptionDiscount.ends_at ?? null; } } exports.SubscriptionDiscountNotification = SubscriptionDiscountNotification;