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