Class LnrpcAddInvoiceResponse

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

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

  • Constructor Details

    • LnrpcAddInvoiceResponse

      public LnrpcAddInvoiceResponse()
  • Method Details

    • rHash

      public LnrpcAddInvoiceResponse rHash(byte[] rHash)
    • getrHash

      @Nullable public byte[] getrHash()
      Get rHash
      Returns:
      rHash
    • setrHash

      public void setrHash(byte[] rHash)
    • paymentRequest

      public LnrpcAddInvoiceResponse paymentRequest(String paymentRequest)
    • getPaymentRequest

      @Nullable public String getPaymentRequest()
      A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
      Returns:
      paymentRequest
    • setPaymentRequest

      public void setPaymentRequest(String paymentRequest)
    • addIndex

      public LnrpcAddInvoiceResponse addIndex(String addIndex)
    • getAddIndex

      @Nullable public String getAddIndex()
      The \"add\" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.
      Returns:
      addIndex
    • setAddIndex

      public void setAddIndex(String addIndex)
    • paymentAddr

      public LnrpcAddInvoiceResponse paymentAddr(byte[] paymentAddr)
    • getPaymentAddr

      @Nullable public byte[] getPaymentAddr()
      The payment address of the generated invoice. This value should be used in all payments for this invoice as we require it for end to end security.
      Returns:
      paymentAddr
    • setPaymentAddr

      public void setPaymentAddr(byte[] paymentAddr)
    • 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