UNPKG

@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) 1.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionPayoutTotalsAdjustedNotification = void 0; const chargeback_fee_notification_js_1 = require("./chargeback-fee-notification.js"); class TransactionPayoutTotalsAdjustedNotification { constructor(transactionPayoutTotalsAdjusted) { this.subtotal = transactionPayoutTotalsAdjusted.subtotal; this.tax = transactionPayoutTotalsAdjusted.tax; this.total = transactionPayoutTotalsAdjusted.total; this.fee = transactionPayoutTotalsAdjusted.fee; this.chargebackFee = transactionPayoutTotalsAdjusted.chargeback_fee ? new chargeback_fee_notification_js_1.ChargebackFeeNotification(transactionPayoutTotalsAdjusted.chargeback_fee) : null; this.earnings = transactionPayoutTotalsAdjusted.earnings; this.currencyCode = transactionPayoutTotalsAdjusted.currency_code; } } exports.TransactionPayoutTotalsAdjustedNotification = TransactionPayoutTotalsAdjustedNotification;