@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
17 lines (16 loc) • 595 B
TypeScript
import { type CurrencyCode } from '../../enums/index.js';
import { type ITransactionTotalsResponse } from '../../types/index.js';
export declare class TransactionTotals {
readonly subtotal: string;
readonly discount: string;
readonly tax: string;
readonly total: string;
readonly credit: string;
readonly creditToBalance: string;
readonly balance: string;
readonly grandTotal: string;
readonly fee: string | null;
readonly earnings: string | null;
readonly currencyCode: CurrencyCode;
constructor(transactionTotals: ITransactionTotalsResponse);
}