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.

37 lines (36 loc) 1.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionPayoutTotals = void 0; class TransactionPayoutTotals { subtotal; discount; tax; total; credit; creditToBalance; balance; grandTotal; grandTotalTax; fee; earnings; currencyCode; exchangeRate; feeRate; 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.grandTotalTax = transactionPayoutTotals.grand_total_tax; this.fee = transactionPayoutTotals.fee; this.earnings = transactionPayoutTotals.earnings; this.currencyCode = transactionPayoutTotals.currency_code; this.exchangeRate = transactionPayoutTotals.exchange_rate; this.feeRate = transactionPayoutTotals.fee_rate; } } exports.TransactionPayoutTotals = TransactionPayoutTotals;