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.

10 lines (9 loc) 261 B
import { Totals } from './totals.js'; export class TaxRatesUsed { taxRate; totals; constructor(taxRatesUsed) { this.taxRate = taxRatesUsed.tax_rate; this.totals = taxRatesUsed.totals ? new Totals(taxRatesUsed.totals) : null; } }