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 class
PaymentPurpose.InvoicePayment
static class
PaymentPurpose.SpontaneousPayment
Fields in org.ldk.structs declared as PaymentPurpose Modifier and Type Field Description PaymentPurpose
Event.PaymentReceived. purpose
Information 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 PaymentPurpose
PaymentPurpose. clone()
Creates a copy of the PaymentPurposestatic PaymentPurpose
PaymentPurpose. invoice_payment(byte[] payment_preimage, byte[] payment_secret, long user_payment_id)
Utility method to constructs a new InvoicePayment-variant PaymentPurposestatic PaymentPurpose
PaymentPurpose. 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 Event
Event. payment_received(byte[] payment_hash, long amt, PaymentPurpose purpose)
Utility method to constructs a new PaymentReceived-variant Event
-