Skip to main content
Version: 2.x

Interface: DeductionSuccess

Defined in: javascript/src/credits/types/account.ts:67

A committed usage charge. Allowance-only charges legitimately have no ledger entry.

Extends

  • DeductionResultBase

Properties

allowanceConsumed

allowanceConsumed: Decimal

Defined in: javascript/src/credits/types/account.ts:62

Inherited from

DeductionResultBase.allowanceConsumed


amount

amount: Decimal

Defined in: javascript/src/credits/types/account.ts:61

Inherited from

DeductionResultBase.amount


balanceAfter

balanceAfter: Decimal

Defined in: javascript/src/credits/types/account.ts:72


bucketBreakdown

bucketBreakdown: Record<string, Decimal> | null

Defined in: javascript/src/credits/types/account.ts:73


entryId

entryId: string | null

Defined in: javascript/src/credits/types/account.ts:69


error

error: null

Defined in: javascript/src/credits/types/account.ts:68


idempotent

idempotent: boolean

Defined in: javascript/src/credits/types/account.ts:63

Inherited from

DeductionResultBase.idempotent


usageChargeId

usageChargeId: string | null

Defined in: javascript/src/credits/types/account.ts:71

Canonical usage receipt, including zero-cost or allowance-only charges.


userId

userId: string

Defined in: javascript/src/credits/types/account.ts:60

Inherited from

DeductionResultBase.userId