Package net.osslabz.lnd.dto
Class LnrpcInvoiceHTLC
java.lang.Object
net.osslabz.lnd.dto.LnrpcInvoiceHTLC
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:38.664532692Z[Etc/UTC]")
public class LnrpcInvoiceHTLC
extends Object
LnrpcInvoiceHTLC
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptHeight(Integer acceptHeight) acceptTime(String acceptTime) customRecords(Map<String, byte[]> customRecords) booleanexpiryHeight(Integer expiryHeight) Block height at which this htlc was accepted.Time at which this htlc was accepted.getAmp()Get ampThe amount of the htlc in msat.Short channel id over which the htlc was received.Custom tlv records.Block height at which this htlc expires.Index identifying the htlc on the channel.The total amount of the mpp payment in msat.Time at which this htlc was settled or canceled.getState()Get stateinthashCode()mppTotalAmtMsat(String mppTotalAmtMsat) putCustomRecordsItem(String key, byte[] customRecordsItem) resolveTime(String resolveTime) voidsetAcceptHeight(Integer acceptHeight) voidsetAcceptTime(String acceptTime) voidvoidsetAmtMsat(String amtMsat) voidvoidsetCustomRecords(Map<String, byte[]> customRecords) voidsetExpiryHeight(Integer expiryHeight) voidsetHtlcIndex(String htlcIndex) voidsetMppTotalAmtMsat(String mppTotalAmtMsat) voidsetResolveTime(String resolveTime) voidsetState(LnrpcInvoiceHTLCState state) state(LnrpcInvoiceHTLCState state) toString()
-
Field Details
-
SERIALIZED_NAME_CHAN_ID
- See Also:
-
SERIALIZED_NAME_HTLC_INDEX
- See Also:
-
SERIALIZED_NAME_AMT_MSAT
- See Also:
-
SERIALIZED_NAME_ACCEPT_HEIGHT
- See Also:
-
SERIALIZED_NAME_ACCEPT_TIME
- See Also:
-
SERIALIZED_NAME_RESOLVE_TIME
- See Also:
-
SERIALIZED_NAME_EXPIRY_HEIGHT
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_CUSTOM_RECORDS
- See Also:
-
SERIALIZED_NAME_MPP_TOTAL_AMT_MSAT
- See Also:
-
SERIALIZED_NAME_AMP
- See Also:
-
-
Constructor Details
-
LnrpcInvoiceHTLC
public LnrpcInvoiceHTLC()
-
-
Method Details
-
chanId
-
getChanId
Short channel id over which the htlc was received.- Returns:
- chanId
-
setChanId
-
htlcIndex
-
getHtlcIndex
Index identifying the htlc on the channel.- Returns:
- htlcIndex
-
setHtlcIndex
-
amtMsat
-
getAmtMsat
The amount of the htlc in msat.- Returns:
- amtMsat
-
setAmtMsat
-
acceptHeight
-
getAcceptHeight
Block height at which this htlc was accepted.- Returns:
- acceptHeight
-
setAcceptHeight
-
acceptTime
-
getAcceptTime
Time at which this htlc was accepted.- Returns:
- acceptTime
-
setAcceptTime
-
resolveTime
-
getResolveTime
Time at which this htlc was settled or canceled.- Returns:
- resolveTime
-
setResolveTime
-
expiryHeight
-
getExpiryHeight
Block height at which this htlc expires.- Returns:
- expiryHeight
-
setExpiryHeight
-
state
-
getState
Get state- Returns:
- state
-
setState
-
customRecords
-
putCustomRecordsItem
-
getCustomRecords
Custom tlv records.- Returns:
- customRecords
-
setCustomRecords
-
mppTotalAmtMsat
-
getMppTotalAmtMsat
The total amount of the mpp payment in msat.- Returns:
- mppTotalAmtMsat
-
setMppTotalAmtMsat
-
amp
-
getAmp
Get amp- Returns:
- amp
-
setAmp
-
equals
-
hashCode
public int hashCode() -
toString
-