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.

8 lines (7 loc) 277 B
import { TransactionsTimePeriod } from './transactions-time-period.js'; export class Proration { constructor(prorationResponse) { this.rate = prorationResponse.rate; this.billingPeriod = new TransactionsTimePeriod(prorationResponse.billing_period); } }