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.

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