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) 285 B
import { TotalsNotification } from './totals-notification.js'; export class TaxRatesUsedNotification { constructor(taxRatesUsed) { this.taxRate = taxRatesUsed.tax_rate; this.totals = taxRatesUsed.totals ? new TotalsNotification(taxRatesUsed.totals) : null; } }