Outgoing Payment
data class OutgoingPayment(id: UUID, recipientAmount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details, parts: List<OutgoingPayment.Part>, status: OutgoingPayment.Status, createdAt: Long) : WalletPayment
Content copied to clipboard
An outgoing payment sent by this node. The payment may be split in multiple parts, which may fail, be retried, and then either succeed or fail.
Parameters
id
internal payment identifier.
recipient Amount
total amount that will be received by the final recipient (NB: it doesn't contain the fees paid).
recipient
final recipient nodeId.
details
details that depend on the payment type (normal payments, swaps, etc).
parts
partial child payments that have actually been sent.
status
current status of the payment.
Constructors
OutgoingPayment
Link copied to clipboard
fun OutgoingPayment(id: UUID, amount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details)
Content copied to clipboard
OutgoingPayment
Link copied to clipboard
fun OutgoingPayment(id: UUID, recipientAmount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details, parts: List<OutgoingPayment.Part>, status: OutgoingPayment.Status, createdAt: Long = currentTimestampMillis())
Content copied to clipboard
Types
Part
Link copied to clipboard
data class Part(id: UUID, amount: MilliSatoshi, route: List<HopDesc>, status: OutgoingPayment.Part.Status, createdAt: Long)
Content copied to clipboard
An child payment sent by this node (partial payment of the total amount).
Functions
completed At
Link copied to clipboard
Absolute time in milliseconds since UNIX epoch when the payment was completed.
Properties
amount
Link copied to clipboard
details
Link copied to clipboard
fees
Link copied to clipboard
parts
Link copied to clipboard
paymentHash
Link copied to clipboard
recipientAmount
Link copied to clipboard
status
Link copied to clipboard