public class ForwardHtlcInterceptResponse extends Message<RouterOuterClass.ForwardHtlcInterceptResponse>
builder, wrapperFactory
Constructor and Description |
---|
ForwardHtlcInterceptResponse()
Empty Constructor
|
ForwardHtlcInterceptResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ForwardHtlcInterceptResponse(RouterOuterClass.ForwardHtlcInterceptResponse apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
ResolveHoldForwardAction |
getAction()
Getter for action.
|
Failure.FailureCode |
getFailureCode()
Getter for failureCode.
|
byte[] |
getFailureMessage()
Getter for failureMessage.
|
CircuitKey |
getIncomingCircuitKey()
Getter for a list of incomingCircuitKey.
|
byte[] |
getPreimage()
Getter for preimage.
|
void |
setAction(ResolveHoldForwardAction value)
Setter for action.
|
void |
setFailureCode(Failure.FailureCode value)
Setter for failureCode.
|
void |
setFailureMessage(byte[] value)
Setter for failureMessage.
|
void |
setIncomingCircuitKey(CircuitKey value)
Setter for list of incomingCircuitKey.
|
void |
setPreimage(byte[] value)
Setter for preimage.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public ForwardHtlcInterceptResponse()
public ForwardHtlcInterceptResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ForwardHtlcInterceptResponse(RouterOuterClass.ForwardHtlcInterceptResponse apiObject)
public CircuitKey getIncomingCircuitKey() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setIncomingCircuitKey(CircuitKey value)
public ResolveHoldForwardAction getAction()
public void setAction(ResolveHoldForwardAction value)
public byte[] getPreimage()
public void setPreimage(byte[] value)
public byte[] getFailureMessage()
public void setFailureMessage(byte[] value)
public Failure.FailureCode getFailureCode()
public void setFailureCode(Failure.FailureCode value)