DeferredPaymentPurpose class abstract final

The purpose a deferred payment carries, for the values the wallet itself sets and reads back.

A reclaim's self-spend is recorded with reclaim:<txid of the payment it reclaims>: that is how the payment it resolves stays queryable from the read model without a schema change, and how the projection finds the payment to resolve when the self-spend reaches the network.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

reclaimedTxid(String? purpose) → String?
The payment purpose reclaims, or null when it is not a reclaim.
reclaimOf(String txid) → String
The purpose of the self-spend that reclaims txid.

Constants

reclaimPrefix → const String
Purpose prefix of a reclaim's self-spend.