-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.Bolt11PaymentInterface,org.lightningdevkit.ldknode.Disposable
public class Bolt11Payment implements Disposable, AutoCloseable, Bolt11PaymentInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBolt11Payment.Companion
-
Constructor Summary
Constructors Constructor Description Bolt11Payment(Pointer pointer)Bolt11Payment(NoPointer noPointer)This constructor can be used to instantiate a fake object.
-
Method Summary
Modifier and Type Method Description Unitdestroy()Unitclose()final PointeruniffiClonePointer()UnitclaimForHash(String paymentHash, ULong claimableAmountMsat, String preimage)UnitfailForHash(String paymentHash)Stringreceive(ULong amountMsat, String description, UInt expirySecs)StringreceiveForHash(ULong amountMsat, String description, UInt expirySecs, String paymentHash)StringreceiveVariableAmount(String description, UInt expirySecs)StringreceiveVariableAmountForHash(String description, UInt expirySecs, String paymentHash)StringreceiveVariableAmountViaJitChannel(String description, UInt expirySecs, ULong maxProportionalLspFeeLimitPpmMsat)StringreceiveViaJitChannel(ULong amountMsat, String description, UInt expirySecs, ULong maxLspFeeLimitMsat)Stringsend(String invoice, SendingParameters sendingParameters)UnitsendProbes(String invoice)UnitsendProbesUsingAmount(String invoice, ULong amountMsat)StringsendUsingAmount(String invoice, ULong amountMsat, SendingParameters sendingParameters)-
-
Constructor Detail
-
Bolt11Payment
Bolt11Payment(Pointer pointer)
-
Bolt11Payment
Bolt11Payment(NoPointer noPointer)
This constructor can be used to instantiate a fake object.
-
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
claimForHash
Unit claimForHash(String paymentHash, ULong claimableAmountMsat, String preimage)
-
failForHash
Unit failForHash(String paymentHash)
-
receiveForHash
String receiveForHash(ULong amountMsat, String description, UInt expirySecs, String paymentHash)
-
receiveVariableAmount
String receiveVariableAmount(String description, UInt expirySecs)
-
receiveVariableAmountForHash
String receiveVariableAmountForHash(String description, UInt expirySecs, String paymentHash)
-
receiveVariableAmountViaJitChannel
String receiveVariableAmountViaJitChannel(String description, UInt expirySecs, ULong maxProportionalLspFeeLimitPpmMsat)
-
receiveViaJitChannel
String receiveViaJitChannel(ULong amountMsat, String description, UInt expirySecs, ULong maxLspFeeLimitMsat)
-
send
String send(String invoice, SendingParameters sendingParameters)
-
sendProbes
Unit sendProbes(String invoice)
-
sendProbesUsingAmount
Unit sendProbesUsingAmount(String invoice, ULong amountMsat)
-
sendUsingAmount
String sendUsingAmount(String invoice, ULong amountMsat, SendingParameters sendingParameters)
-
-
-
-