Class LnrpcHTLC

java.lang.Object
net.osslabz.lnd.dto.LnrpcHTLC

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-07T12:03:34.958542131Z[Etc/UTC]") public class LnrpcHTLC extends Object
LnrpcHTLC
  • Field Details

  • Constructor Details

    • LnrpcHTLC

      public LnrpcHTLC()
  • Method Details

    • incoming

      public LnrpcHTLC incoming(Boolean incoming)
    • getIncoming

      @Nullable public Boolean getIncoming()
      Get incoming
      Returns:
      incoming
    • setIncoming

      public void setIncoming(Boolean incoming)
    • amount

      public LnrpcHTLC amount(String amount)
    • getAmount

      @Nullable public String getAmount()
      Get amount
      Returns:
      amount
    • setAmount

      public void setAmount(String amount)
    • hashLock

      public LnrpcHTLC hashLock(byte[] hashLock)
    • getHashLock

      @Nullable public byte[] getHashLock()
      Get hashLock
      Returns:
      hashLock
    • setHashLock

      public void setHashLock(byte[] hashLock)
    • expirationHeight

      public LnrpcHTLC expirationHeight(Long expirationHeight)
    • getExpirationHeight

      @Nullable public Long getExpirationHeight()
      Get expirationHeight
      Returns:
      expirationHeight
    • setExpirationHeight

      public void setExpirationHeight(Long expirationHeight)
    • htlcIndex

      public LnrpcHTLC htlcIndex(String htlcIndex)
    • getHtlcIndex

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

      public void setHtlcIndex(String htlcIndex)
    • forwardingChannel

      public LnrpcHTLC forwardingChannel(String forwardingChannel)
    • getForwardingChannel

      @Nullable public String getForwardingChannel()
      If this HTLC is involved in a forwarding operation, this field indicates the forwarding channel. For an outgoing htlc, it is the incoming channel. For an incoming htlc, it is the outgoing channel. When the htlc originates from this node or this node is the final destination, forwarding_channel will be zero. The forwarding channel will also be zero for htlcs that need to be forwarded but don't have a forwarding decision persisted yet.
      Returns:
      forwardingChannel
    • setForwardingChannel

      public void setForwardingChannel(String forwardingChannel)
    • forwardingHtlcIndex

      public LnrpcHTLC forwardingHtlcIndex(String forwardingHtlcIndex)
    • getForwardingHtlcIndex

      @Nullable public String getForwardingHtlcIndex()
      Index identifying the htlc on the forwarding channel.
      Returns:
      forwardingHtlcIndex
    • setForwardingHtlcIndex

      public void setForwardingHtlcIndex(String forwardingHtlcIndex)
    • 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