-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.Bolt12PaymentInterface,org.lightningdevkit.ldknode.Disposable
public class Bolt12Payment implements Disposable, AutoCloseable, Bolt12PaymentInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBolt12Payment.Companion
-
Constructor Summary
Constructors Constructor Description Bolt12Payment(Pointer pointer)Bolt12Payment(NoPointer noPointer)This constructor can be used to instantiate a fake object.
-
Method Summary
Modifier and Type Method Description Unitdestroy()Unitclose()final PointeruniffiClonePointer()StringinitiateRefund(ULong amountMsat, UInt expirySecs, ULong quantity, String payerNote)Stringreceive(ULong amountMsat, String description, UInt expirySecs, ULong quantity)StringreceiveVariableAmount(String description, UInt expirySecs)StringrequestRefundPayment(String refund)Stringsend(String offer, ULong quantity, String payerNote)StringsendUsingAmount(String offer, ULong amountMsat, ULong quantity, String payerNote)-
-
Constructor Detail
-
Bolt12Payment
Bolt12Payment(Pointer pointer)
-
Bolt12Payment
Bolt12Payment(NoPointer noPointer)
This constructor can be used to instantiate a fake object.
-
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
initiateRefund
String initiateRefund(ULong amountMsat, UInt expirySecs, ULong quantity, String payerNote)
-
receiveVariableAmount
String receiveVariableAmount(String description, UInt expirySecs)
-
requestRefundPayment
String requestRefundPayment(String refund)
-
-
-
-