-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.Bolt11InvoiceInterface,org.lightningdevkit.ldknode.Disposable
public class Bolt11Invoice implements Disposable, AutoCloseable, Bolt11InvoiceInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBolt11Invoice.Companion
-
Constructor Summary
Constructors Constructor Description Bolt11Invoice(Pointer pointer)Bolt11Invoice(NoPointer noPointer)This constructor can be used to instantiate a fake object.
-
Method Summary
Modifier and Type Method Description Unitdestroy()Unitclose()final PointeruniffiClonePointer()ULongamountMilliSatoshis()Currencycurrency()ULongexpiryTimeSeconds()List<String>fallbackAddresses()Bolt11InvoiceDescriptioninvoiceDescription()BooleanisExpired()ULongminFinalCltvExpiryDelta()Networknetwork()StringpaymentHash()StringpaymentSecret()StringrecoverPayeePubKey()List<List<RouteHintHop>>routeHints()ULongsecondsSinceEpoch()ULongsecondsUntilExpiry()List<UByte>signableHash()BooleanwouldExpire(ULong atTimeSeconds)StringtoString()Booleanequals(Object other)-
-
Constructor Detail
-
Bolt11Invoice
Bolt11Invoice(Pointer pointer)
-
Bolt11Invoice
Bolt11Invoice(NoPointer noPointer)
This constructor can be used to instantiate a fake object.
-
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
amountMilliSatoshis
ULong amountMilliSatoshis()
-
expiryTimeSeconds
ULong expiryTimeSeconds()
-
fallbackAddresses
List<String> fallbackAddresses()
-
invoiceDescription
Bolt11InvoiceDescription invoiceDescription()
-
minFinalCltvExpiryDelta
ULong minFinalCltvExpiryDelta()
-
paymentHash
String paymentHash()
-
paymentSecret
String paymentSecret()
-
recoverPayeePubKey
String recoverPayeePubKey()
-
routeHints
List<List<RouteHintHop>> routeHints()
-
secondsSinceEpoch
ULong secondsSinceEpoch()
-
secondsUntilExpiry
ULong secondsUntilExpiry()
-
signableHash
List<UByte> signableHash()
-
wouldExpire
Boolean wouldExpire(ULong atTimeSeconds)
-
-
-
-