@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
16 lines (15 loc) • 583 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdjustmentProration = void 0;
const adjustment_time_period_js_1 = require("./adjustment-time-period.js");
class AdjustmentProration {
rate;
billingPeriod;
constructor(adjustmentsProration) {
this.rate = adjustmentsProration.rate;
this.billingPeriod = adjustmentsProration.billing_period
? new adjustment_time_period_js_1.AdjustmentTimePeriod(adjustmentsProration.billing_period)
: null;
}
}
exports.AdjustmentProration = AdjustmentProration;