Class LnrpcAMPInvoiceState

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

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

  • Constructor Details

    • LnrpcAMPInvoiceState

      public LnrpcAMPInvoiceState()
  • Method Details

    • state

    • getState

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

      public void setState(LnrpcInvoiceHTLCState state)
    • settleIndex

      public LnrpcAMPInvoiceState settleIndex(String settleIndex)
    • getSettleIndex

      @Nullable public String getSettleIndex()
      The settle index of this HTLC set, if the invoice state is settled.
      Returns:
      settleIndex
    • setSettleIndex

      public void setSettleIndex(String settleIndex)
    • settleTime

      public LnrpcAMPInvoiceState settleTime(String settleTime)
    • getSettleTime

      @Nullable public String getSettleTime()
      The time this HTLC set was settled expressed in unix epoch.
      Returns:
      settleTime
    • setSettleTime

      public void setSettleTime(String settleTime)
    • amtPaidMsat

      public LnrpcAMPInvoiceState amtPaidMsat(String amtPaidMsat)
    • getAmtPaidMsat

      @Nullable public String getAmtPaidMsat()
      The total amount paid for the sub-invoice expressed in milli satoshis.
      Returns:
      amtPaidMsat
    • setAmtPaidMsat

      public void setAmtPaidMsat(String amtPaidMsat)
    • 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