Skip to content

basalt / subscriptions/src / PaymentApplyResult

Interface: PaymentApplyResult ​

Defined in: subscriptions/src/payment.ts:189

Result of applying a PaymentEvent to the ledger.

Properties ​

fresh ​

> fresh: boolean

Defined in: subscriptions/src/payment.ts:195

false = nothing was applied: this event id was already processed (deduped), or the payment is already paid (a later event cannot change a settled payment — see PaymentLedger.apply). You did nothing.


record? ​

> optional record?: PaymentRecord

Defined in: subscriptions/src/payment.ts:196

Released under the MIT License.