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