@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
11 lines (10 loc) • 365 B
JavaScript
export class TotalAdjustments {
constructor(totalAdjustments) {
this.subtotal = totalAdjustments.subtotal;
this.tax = totalAdjustments.tax;
this.total = totalAdjustments.total;
this.fee = totalAdjustments.fee;
this.earnings = totalAdjustments.earnings;
this.currencyCode = totalAdjustments.currency_code;
}
}