Uses of Class
org.ldk.structs.PaymentPurpose
-
Packages that use PaymentPurpose Package Description org.ldk.structs -
-
Uses of PaymentPurpose in org.ldk.structs
Subclasses of PaymentPurpose in org.ldk.structs Modifier and Type Class Description static classPaymentPurpose.InvoicePaymentstatic classPaymentPurpose.SpontaneousPaymentFields in org.ldk.structs declared as PaymentPurpose Modifier and Type Field Description PaymentPurposeEvent.PaymentReceived. purposeInformation for claiming this received payment, based on whether the purpose of the payment is to pay an invoice or to send a spontaneous payment.Methods in org.ldk.structs that return PaymentPurpose Modifier and Type Method Description PaymentPurposePaymentPurpose. clone()Creates a copy of the PaymentPurposestatic PaymentPurposePaymentPurpose. invoice_payment(byte[] payment_preimage, byte[] payment_secret, long user_payment_id)Utility method to constructs a new InvoicePayment-variant PaymentPurposestatic PaymentPurposePaymentPurpose. spontaneous_payment(byte[] a)Utility method to constructs a new SpontaneousPayment-variant PaymentPurposeMethods in org.ldk.structs with parameters of type PaymentPurpose Modifier and Type Method Description static EventEvent. payment_received(byte[] payment_hash, long amt, PaymentPurpose purpose)Utility method to constructs a new PaymentReceived-variant Event
-