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.

20 lines (19 loc) 897 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionPayoutTotals = void 0; class TransactionPayoutTotals { 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; } } exports.TransactionPayoutTotals = TransactionPayoutTotals;