Class LnrpcMPPRecord

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

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

  • Constructor Details

    • LnrpcMPPRecord

      public LnrpcMPPRecord()
  • Method Details

    • paymentAddr

      public LnrpcMPPRecord paymentAddr(byte[] paymentAddr)
    • getPaymentAddr

      @Nullable public byte[] getPaymentAddr()
      A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment. The payment_addr must be the same for all subpayments, and match the payment_addr provided in the receiver's invoice. The same payment_addr must be used on all subpayments.
      Returns:
      paymentAddr
    • setPaymentAddr

      public void setPaymentAddr(byte[] paymentAddr)
    • totalAmtMsat

      public LnrpcMPPRecord totalAmtMsat(String totalAmtMsat)
    • getTotalAmtMsat

      @Nullable public String getTotalAmtMsat()
      The total amount in milli-satoshis being sent as part of a larger multi-path payment. The caller is responsible for ensuring subpayments to the same node and payment_hash sum exactly to total_amt_msat. The same total_amt_msat must be used on all subpayments.
      Returns:
      totalAmtMsat
    • setTotalAmtMsat

      public void setTotalAmtMsat(String totalAmtMsat)
    • 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