@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
12 lines (11 loc) • 437 B
JavaScript
import { AdjustmentTimePeriodNotification } from './adjustment-time-period-notification.js';
export class AdjustmentProrationNotification {
rate;
billingPeriod;
constructor(adjustmentsProration) {
this.rate = adjustmentsProration.rate;
this.billingPeriod = adjustmentsProration.billing_period
? new AdjustmentTimePeriodNotification(adjustmentsProration.billing_period)
: null;
}
}