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.

14 lines (13 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Proration = void 0; const transactions_time_period_js_1 = require("./transactions-time-period.js"); class Proration { rate; billingPeriod; constructor(prorationResponse) { this.rate = prorationResponse.rate; this.billingPeriod = new transactions_time_period_js_1.TransactionsTimePeriod(prorationResponse.billing_period); } } exports.Proration = Proration;