@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) • 359 B
JavaScript
import { AdjustmentTimePeriod } from './adjustment-time-period.js';
export class AdjustmentProration {
constructor(adjustmentsProration) {
this.rate = adjustmentsProration.rate;
this.billingPeriod = adjustmentsProration.billing_period
? new AdjustmentTimePeriod(adjustmentsProration.billing_period)
: null;
}
}