@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) • 819 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayoutTotalsAdjustment = void 0;
const chargeback_fee_js_1 = require("./chargeback-fee.js");
class PayoutTotalsAdjustment {
constructor(payoutTotalsAdjustment) {
this.subtotal = payoutTotalsAdjustment.subtotal;
this.tax = payoutTotalsAdjustment.tax;
this.total = payoutTotalsAdjustment.total;
this.fee = payoutTotalsAdjustment.fee;
this.chargebackFee = payoutTotalsAdjustment.chargeback_fee
? new chargeback_fee_js_1.ChargebackFee(payoutTotalsAdjustment.chargeback_fee)
: null;
this.earnings = payoutTotalsAdjustment.earnings;
this.currencyCode = payoutTotalsAdjustment.currency_code;
}
}
exports.PayoutTotalsAdjustment = PayoutTotalsAdjustment;