OutgoingPayment

fun OutgoingPayment(id: UUID, amount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details)
fun OutgoingPayment(id: UUID, recipientAmount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details, parts: List<OutgoingPayment.Part>, status: OutgoingPayment.Status, createdAt: Long = currentTimestampMillis())

Parameters

id

internal payment identifier.

recipientAmount

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.