Package net.osslabz.lnd.dto
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]The payment hash to use for the HTLC.An optional hex-encoded payment hash to be used for the HTLC.getRoute()Get routeinthashCode()paymentHash(byte[] paymentHash) paymentHashString(String paymentHashString) route(LnrpcRoute route) voidsetPaymentHash(byte[] paymentHash) voidsetPaymentHashString(String paymentHashString) voidsetRoute(LnrpcRoute route) toString()
-
Field Details
-
SERIALIZED_NAME_PAYMENT_HASH
- See Also:
-
SERIALIZED_NAME_PAYMENT_HASH_STRING
- See Also:
-
SERIALIZED_NAME_ROUTE
- See Also:
-
-
Constructor Details
-
LnrpcSendToRouteRequest
public LnrpcSendToRouteRequest()
-
-
Method Details
-
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
-
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
-
route
-
getRoute
Get route- Returns:
- route
-
setRoute
-
equals
-
hashCode
public int hashCode() -
toString
-