-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.Bolt12PaymentInterface,org.lightningdevkit.ldknode.Disposable
public class Bolt12Payment extends FFIObject implements 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 PointeruniffiClonePointer()StringinitiateRefund(ULong amountMsat, UInt expirySecs)Stringreceive(ULong amountMsat, String description)StringreceiveVariableAmount(String description)StringrequestRefundPayment(String refund)Stringsend(String offer, String payerNote)StringsendUsingAmount(String offer, String payerNote, ULong amountMsat)-
-
Method Detail
-
uniffiClonePointer
Pointer uniffiClonePointer()
-
initiateRefund
String initiateRefund(ULong amountMsat, UInt expirySecs)
-
receiveVariableAmount
String receiveVariableAmount(String description)
-
requestRefundPayment
String requestRefundPayment(String refund)
-
sendUsingAmount
String sendUsingAmount(String offer, String payerNote, ULong amountMsat)
-
-
-
-