-
public interface Bolt11PaymentInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBolt11PaymentInterface.Companion
-
Method Summary
Modifier and Type Method Description abstract UnitclaimForHash(String paymentHash, ULong claimableAmountMsat, String preimage)abstract UnitfailForHash(String paymentHash)abstract Stringreceive(ULong amountMsat, String description, UInt expirySecs)abstract StringreceiveForHash(ULong amountMsat, String description, UInt expirySecs, String paymentHash)abstract StringreceiveVariableAmount(String description, UInt expirySecs)abstract StringreceiveVariableAmountForHash(String description, UInt expirySecs, String paymentHash)abstract StringreceiveVariableAmountViaJitChannel(String description, UInt expirySecs, ULong maxProportionalLspFeeLimitPpmMsat)abstract StringreceiveViaJitChannel(ULong amountMsat, String description, UInt expirySecs, ULong maxLspFeeLimitMsat)abstract Stringsend(String invoice, SendingParameters sendingParameters)abstract UnitsendProbes(String invoice)abstract UnitsendProbesUsingAmount(String invoice, ULong amountMsat)abstract StringsendUsingAmount(String invoice, ULong amountMsat, SendingParameters sendingParameters)-
-
Method Detail
-
claimForHash
abstract Unit claimForHash(String paymentHash, ULong claimableAmountMsat, String preimage)
-
failForHash
abstract Unit failForHash(String paymentHash)
-
receiveForHash
abstract String receiveForHash(ULong amountMsat, String description, UInt expirySecs, String paymentHash)
-
receiveVariableAmount
abstract String receiveVariableAmount(String description, UInt expirySecs)
-
receiveVariableAmountForHash
abstract String receiveVariableAmountForHash(String description, UInt expirySecs, String paymentHash)
-
receiveVariableAmountViaJitChannel
abstract String receiveVariableAmountViaJitChannel(String description, UInt expirySecs, ULong maxProportionalLspFeeLimitPpmMsat)
-
receiveViaJitChannel
abstract String receiveViaJitChannel(ULong amountMsat, String description, UInt expirySecs, ULong maxLspFeeLimitMsat)
-
send
abstract String send(String invoice, SendingParameters sendingParameters)
-
sendProbes
abstract Unit sendProbes(String invoice)
-
sendProbesUsingAmount
abstract Unit sendProbesUsingAmount(String invoice, ULong amountMsat)
-
sendUsingAmount
abstract String sendUsingAmount(String invoice, ULong amountMsat, SendingParameters sendingParameters)
-
-
-
-