@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) • 532 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PricingPreviewDiscounts = void 0;
const index_js_1 = require("../discount/index.js");
class PricingPreviewDiscounts {
discount;
total;
formattedTotal;
constructor(previewDiscount) {
this.discount = new index_js_1.Discount(previewDiscount.discount);
this.total = previewDiscount.total;
this.formattedTotal = previewDiscount.formatted_total;
}
}
exports.PricingPreviewDiscounts = PricingPreviewDiscounts;