LN-Invoice
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
LN-Invoice
LN-Invoice
/
app.cash.lninvoice
/
PaymentRequest
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
parse
Link copied to clipboard
fun
parse
(
encoded
:
String
,
strict
:
Boolean
=
false
)
:
Either
<
InvalidInvoice
,
PaymentRequest
>
Parse an encoded invoice into a PaymentRequest.
parse
Unsafe
Link copied to clipboard
fun
parseUnsafe
(
encoded
:
String
)
:
PaymentRequest
Parse an encoded invoice into a PaymentRequest.