public static interface LightningApi.PaymentOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCreationDate()
Deprecated.
lnrpc.Payment.creation_date is deprecated.
See lightning.api.proto;l=3892
|
long |
getCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
|
LightningApi.PaymentFailureReason |
getFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16; |
int |
getFailureReasonValue()
.lnrpc.PaymentFailureReason failure_reason = 16; |
long |
getFee()
Deprecated.
lnrpc.Payment.fee is deprecated.
See lightning.api.proto;l=3897
|
long |
getFeeMsat()
The fee paid for this payment in milli-satoshis
|
long |
getFeeSat()
The fee paid for this payment in satoshis
|
LightningApi.HTLCAttempt |
getHtlcs(int index)
The HTLCs made in attempt to settle the payment.
|
int |
getHtlcsCount()
The HTLCs made in attempt to settle the payment.
|
java.util.List<LightningApi.HTLCAttempt> |
getHtlcsList()
The HTLCs made in attempt to settle the payment.
|
LightningApi.HTLCAttemptOrBuilder |
getHtlcsOrBuilder(int index)
The HTLCs made in attempt to settle the payment.
|
java.util.List<? extends LightningApi.HTLCAttemptOrBuilder> |
getHtlcsOrBuilderList()
The HTLCs made in attempt to settle the payment.
|
java.lang.String |
getPaymentHash()
The payment hash
|
com.google.protobuf.ByteString |
getPaymentHashBytes()
The payment hash
|
long |
getPaymentIndex()
The creation index of this payment.
|
java.lang.String |
getPaymentPreimage()
The payment preimage
|
com.google.protobuf.ByteString |
getPaymentPreimageBytes()
The payment preimage
|
java.lang.String |
getPaymentRequest()
The optional payment request being fulfilled.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
The optional payment request being fulfilled.
|
LightningApi.Payment.PaymentStatus |
getStatus()
The status of the payment.
|
int |
getStatusValue()
The status of the payment.
|
long |
getValue()
Deprecated.
lnrpc.Payment.value is deprecated.
See lightning.api.proto;l=3889
|
long |
getValueMsat()
The value of the payment in milli-satoshis
|
long |
getValueSat()
The value of the payment in satoshis
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getPaymentHash()
The payment hash
string payment_hash = 1;
com.google.protobuf.ByteString getPaymentHashBytes()
The payment hash
string payment_hash = 1;
@Deprecated long getValue()
Deprecated, use value_sat or value_msat.
int64 value = 2 [deprecated = true];
@Deprecated long getCreationDate()
Deprecated, use creation_time_ns
int64 creation_date = 3 [deprecated = true];
@Deprecated long getFee()
Deprecated, use fee_sat or fee_msat.
int64 fee = 5 [deprecated = true];
java.lang.String getPaymentPreimage()
The payment preimage
string payment_preimage = 6;
com.google.protobuf.ByteString getPaymentPreimageBytes()
The payment preimage
string payment_preimage = 6;
long getValueSat()
The value of the payment in satoshis
int64 value_sat = 7;
long getValueMsat()
The value of the payment in milli-satoshis
int64 value_msat = 8;
java.lang.String getPaymentRequest()
The optional payment request being fulfilled.
string payment_request = 9;
com.google.protobuf.ByteString getPaymentRequestBytes()
The optional payment request being fulfilled.
string payment_request = 9;
int getStatusValue()
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
LightningApi.Payment.PaymentStatus getStatus()
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
long getFeeSat()
The fee paid for this payment in satoshis
int64 fee_sat = 11;
long getFeeMsat()
The fee paid for this payment in milli-satoshis
int64 fee_msat = 12;
long getCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
int64 creation_time_ns = 13;
java.util.List<LightningApi.HTLCAttempt> getHtlcsList()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
LightningApi.HTLCAttempt getHtlcs(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
int getHtlcsCount()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
java.util.List<? extends LightningApi.HTLCAttemptOrBuilder> getHtlcsOrBuilderList()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
LightningApi.HTLCAttemptOrBuilder getHtlcsOrBuilder(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
long getPaymentIndex()
The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.
uint64 payment_index = 15;
int getFailureReasonValue()
.lnrpc.PaymentFailureReason failure_reason = 16;
LightningApi.PaymentFailureReason getFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16;