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.

16 lines (15 loc) 726 B
export 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; } }