Result_NonePaymentErrorZ |
Result_NonePaymentErrorZ.clone() |
Creates a new CResult_NonePaymentErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_NonePaymentErrorZ |
Result_NonePaymentErrorZ.err(PaymentError e) |
Creates a new CResult_NonePaymentErrorZ in the error state.
|
static Result_NonePaymentErrorZ |
Result_NonePaymentErrorZ.ok() |
Creates a new CResult_NonePaymentErrorZ in the success state.
|
Result_NonePaymentErrorZ |
InvoicePayer.pay_invoice_with_id(Invoice invoice,
byte[] payment_id) |
Pays the given [`Invoice`] with a custom idempotency key, caching the invoice for later use
in case a retry is needed.
|
Result_NonePaymentErrorZ |
InvoicePayer.pay_pubkey_with_id(byte[] pubkey,
byte[] payment_preimage,
byte[] payment_id,
long amount_msats,
int final_cltv_expiry_delta) |
Pays `pubkey` an amount using the hash of the given preimage and a custom idempotency key,
caching the invoice for later use in case a retry is needed.
|
Result_NonePaymentErrorZ |
InvoicePayer.pay_zero_value_invoice_with_id(Invoice invoice,
long amount_msats,
byte[] payment_id) |
Pays the given zero-value [`Invoice`] using the given amount and custom idempotency key,
caching the invoice for later use in case a retry is needed.
|