Class LnrpcSendToRouteRequest

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

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

  • Constructor Details

    • LnrpcSendToRouteRequest

      public LnrpcSendToRouteRequest()
  • Method Details

    • paymentHash

      public LnrpcSendToRouteRequest paymentHash(byte[] paymentHash)
    • getPaymentHash

      @Nullable public byte[] getPaymentHash()
      The payment hash to use for the HTLC. When using REST, this field must be encoded as base64.
      Returns:
      paymentHash
    • setPaymentHash

      public void setPaymentHash(byte[] paymentHash)
    • paymentHashString

      public LnrpcSendToRouteRequest paymentHashString(String paymentHashString)
    • getPaymentHashString

      @Nullable public String getPaymentHashString()
      An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
      Returns:
      paymentHashString
    • setPaymentHashString

      public void setPaymentHashString(String paymentHashString)
    • route

      public LnrpcSendToRouteRequest route(LnrpcRoute route)
    • getRoute

      @Nullable public LnrpcRoute getRoute()
      Get route
      Returns:
      route
    • setRoute

      public void setRoute(LnrpcRoute route)
    • 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