Incoming Payment
fun IncomingPayment(preimage: ByteVector32, origin: IncomingPayment.Origin)
Content copied to clipboard
fun IncomingPayment(preimage: ByteVector32, origin: IncomingPayment.Origin, received: IncomingPayment.Received?, createdAt: Long = currentTimestampMillis())
Content copied to clipboard
Parameters
preimage
payment preimage, which acts as a proof-of-payment for the payer.
origin
origin of a payment (normal, swap, etc).
received
funds received for this payment, null if no funds have been received yet.
created At
absolute time in milliseconds since UNIX epoch when the payment request was generated.