@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
22 lines (21 loc) • 1.07 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionPayoutTotalsNotification = void 0;
class TransactionPayoutTotalsNotification {
constructor(transactionPayoutTotals) {
this.subtotal = transactionPayoutTotals.subtotal;
this.discount = transactionPayoutTotals.discount;
this.tax = transactionPayoutTotals.tax;
this.total = transactionPayoutTotals.total;
this.credit = transactionPayoutTotals.credit;
this.creditToBalance = transactionPayoutTotals.credit_to_balance;
this.balance = transactionPayoutTotals.balance;
this.grandTotal = transactionPayoutTotals.grand_total;
this.fee = transactionPayoutTotals.fee;
this.earnings = transactionPayoutTotals.earnings;
this.currencyCode = transactionPayoutTotals.currency_code;
this.exchangeRate = transactionPayoutTotals.exchange_rate;
this.feeRate = transactionPayoutTotals.fee_rate;
}
}
exports.TransactionPayoutTotalsNotification = TransactionPayoutTotalsNotification;