public class SendResponse extends Message<LightningApi.SendResponse>
Message,
LightningApi.SendResponsebuilder, wrapperFactory| Constructor and Description |
|---|
SendResponse()
Empty Constructor
|
SendResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
SendResponse(LightningApi.SendResponse apiObject)
Constructor using underlying Lightning API Object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPaymentError()
Getter for paymentError.
|
byte[] |
getPaymentHash()
Getter for paymentHash.
|
byte[] |
getPaymentPreimage()
Getter for paymentPreimage.
|
Route |
getPaymentRoute()
Getter for a list of paymentRoute.
|
void |
setPaymentError(java.lang.String value)
Setter for paymentError.
|
void |
setPaymentHash(byte[] value)
Setter for paymentHash.
|
void |
setPaymentPreimage(byte[] value)
Setter for paymentPreimage.
|
void |
setPaymentRoute(Route value)
Setter for list of paymentRoute.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validatepublic SendResponse()
public SendResponse(javax.json.JsonReader jsonReader)
throws javax.json.JsonException
javax.json.JsonException - if problems was found with the supplied JSON data.public SendResponse(LightningApi.SendResponse apiObject)
public java.lang.String getPaymentError()
public void setPaymentError(java.lang.String value)
public byte[] getPaymentPreimage()
public void setPaymentPreimage(byte[] value)
public Route getPaymentRoute() throws ClientSideException
ClientSideException - if problems occurred constructing the wrapped object.public void setPaymentRoute(Route value)
public byte[] getPaymentHash()
public void setPaymentHash(byte[] value)