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.

12 lines (11 loc) 388 B
import { AdjustmentTimePeriod } from './adjustment-time-period.js'; export class AdjustmentProration { rate; billingPeriod; constructor(adjustmentsProration) { this.rate = adjustmentsProration.rate; this.billingPeriod = adjustmentsProration.billing_period ? new AdjustmentTimePeriod(adjustmentsProration.billing_period) : null; } }