@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
19 lines (18 loc) • 527 B
JavaScript
export class TotalAdjustmentsNotification {
subtotal;
tax;
total;
fee;
earnings;
currencyCode;
retainedFee;
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;
this.retainedFee = totalAdjustments.retained_fee;
}
}