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 Details

  • Constructor Details

    • LnrpcInvoiceHTLC

      public LnrpcInvoiceHTLC()
  • Method Details

    • chanId

      public LnrpcInvoiceHTLC chanId(String chanId)
    • getChanId

      @Nullable public String getChanId()
      Short channel id over which the htlc was received.
      Returns:
      chanId
    • setChanId

      public void setChanId(String chanId)
    • htlcIndex

      public LnrpcInvoiceHTLC htlcIndex(String htlcIndex)
    • getHtlcIndex

      @Nullable public String getHtlcIndex()
      Index identifying the htlc on the channel.
      Returns:
      htlcIndex
    • setHtlcIndex

      public void setHtlcIndex(String htlcIndex)
    • amtMsat

      public LnrpcInvoiceHTLC amtMsat(String amtMsat)
    • getAmtMsat

      @Nullable public String getAmtMsat()
      The amount of the htlc in msat.
      Returns:
      amtMsat
    • setAmtMsat

      public void setAmtMsat(String amtMsat)
    • acceptHeight

      public LnrpcInvoiceHTLC acceptHeight(Integer acceptHeight)
    • getAcceptHeight

      @Nullable public Integer getAcceptHeight()
      Block height at which this htlc was accepted.
      Returns:
      acceptHeight
    • setAcceptHeight

      public void setAcceptHeight(Integer acceptHeight)
    • acceptTime

      public LnrpcInvoiceHTLC acceptTime(String acceptTime)
    • getAcceptTime

      @Nullable public String getAcceptTime()
      Time at which this htlc was accepted.
      Returns:
      acceptTime
    • setAcceptTime

      public void setAcceptTime(String acceptTime)
    • resolveTime

      public LnrpcInvoiceHTLC resolveTime(String resolveTime)
    • getResolveTime

      @Nullable public String getResolveTime()
      Time at which this htlc was settled or canceled.
      Returns:
      resolveTime
    • setResolveTime

      public void setResolveTime(String resolveTime)
    • expiryHeight

      public LnrpcInvoiceHTLC expiryHeight(Integer expiryHeight)
    • getExpiryHeight

      @Nullable public Integer getExpiryHeight()
      Block height at which this htlc expires.
      Returns:
      expiryHeight
    • setExpiryHeight

      public void setExpiryHeight(Integer expiryHeight)
    • state

    • getState

      @Nullable public LnrpcInvoiceHTLCState getState()
      Get state
      Returns:
      state
    • setState

      public void setState(LnrpcInvoiceHTLCState state)
    • customRecords

      public LnrpcInvoiceHTLC customRecords(Map<String,byte[]> customRecords)
    • putCustomRecordsItem

      public LnrpcInvoiceHTLC putCustomRecordsItem(String key, byte[] customRecordsItem)
    • getCustomRecords

      @Nullable public Map<String,byte[]> getCustomRecords()
      Custom tlv records.
      Returns:
      customRecords
    • setCustomRecords

      public void setCustomRecords(Map<String,byte[]> customRecords)
    • mppTotalAmtMsat

      public LnrpcInvoiceHTLC mppTotalAmtMsat(String mppTotalAmtMsat)
    • getMppTotalAmtMsat

      @Nullable public String getMppTotalAmtMsat()
      The total amount of the mpp payment in msat.
      Returns:
      mppTotalAmtMsat
    • setMppTotalAmtMsat

      public void setMppTotalAmtMsat(String mppTotalAmtMsat)
    • amp

      public LnrpcInvoiceHTLC amp(LnrpcAMP amp)
    • getAmp

      @Nullable public LnrpcAMP getAmp()
      Get amp
      Returns:
      amp
    • setAmp

      public void setAmp(LnrpcAMP amp)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object