@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
23 lines (22 loc) • 988 B
TypeScript
import { type AdjustmentActionType, type AdjustmentAction, type AdjustmentStatus, type CurrencyCode } from '../../enums/index.js';
import { AdjustmentItem } from './adjustment-item.js';
import { PayoutTotalsAdjustment, TotalAdjustments } from '../shared/index.js';
import { type IAdjustmentResponse } from '../../types/index.js';
export declare class Adjustment {
readonly id: string;
readonly action: AdjustmentAction;
readonly type: AdjustmentActionType;
readonly transactionId: string;
readonly subscriptionId: string | null;
readonly customerId: string;
readonly reason: string;
readonly creditAppliedToBalance: boolean;
readonly currencyCode: CurrencyCode;
readonly status: AdjustmentStatus;
readonly items: AdjustmentItem[];
readonly totals: TotalAdjustments;
readonly payoutTotals: PayoutTotalsAdjustment | null;
readonly createdAt: string;
readonly updatedAt: string;
constructor(adjustment: IAdjustmentResponse);
}