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) 228 B
export class UnitTotals { constructor(unitTotals) { this.subtotal = unitTotals.subtotal; this.discount = unitTotals.discount; this.tax = unitTotals.tax; this.total = unitTotals.total; } }