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) 241 B
import { Money } from './money.js'; export class UnitPriceOverride { constructor(unitPriceOverride) { this.countryCodes = unitPriceOverride.country_codes; this.unitPrice = new Money(unitPriceOverride.unit_price); } }