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.

9 lines (8 loc) 204 B
export class Totals { constructor(totals) { this.subtotal = totals.subtotal; this.discount = totals.discount; this.tax = totals.tax; this.total = totals.total; } }