Part

data class Part(id: UUID, amount: MilliSatoshi, route: List<HopDesc>, status: OutgoingPayment.Part.Status, createdAt: Long)

An child payment sent by this node (partial payment of the total amount).

Parameters

id

internal payment identifier.

amount

amount sent, including fees.

route

payment route used.

status

current status of the payment.

createdAt

absolute time in milliseconds since UNIX epoch when the payment was created.

Constructors

Part
Link copied to clipboard
common
fun Part(id: UUID, amount: MilliSatoshi, route: List<HopDesc>, status: OutgoingPayment.Part.Status, createdAt: Long = currentTimestampMillis())

Types

Status
Link copied to clipboard
common
sealed class Status

Properties

amount
Link copied to clipboard
common
val amount: MilliSatoshi
createdAt
Link copied to clipboard
common
val createdAt: Long
id
Link copied to clipboard
common
val id: UUID
route
Link copied to clipboard
common
val route: List<HopDesc>
status
Link copied to clipboard
common
val status: OutgoingPayment.Part.Status