public class HtlcInfo extends Message<RouterOuterClass.HtlcInfo>
Message
,
RouterOuterClass.HtlcInfo
builder, wrapperFactory
Constructor and Description |
---|
HtlcInfo()
Empty Constructor
|
HtlcInfo(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
HtlcInfo(RouterOuterClass.HtlcInfo apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getIncomingAmtMsat()
Getter for incomingAmtMsat.
|
int |
getIncomingTimelock()
Getter for incomingTimelock.
|
long |
getOutgoingAmtMsat()
Getter for outgoingAmtMsat.
|
int |
getOutgoingTimelock()
Getter for outgoingTimelock.
|
void |
setIncomingAmtMsat(long value)
Setter for incomingAmtMsat.
|
void |
setIncomingTimelock(int value)
Setter for incomingTimelock.
|
void |
setOutgoingAmtMsat(long value)
Setter for outgoingAmtMsat.
|
void |
setOutgoingTimelock(int value)
Setter for outgoingTimelock.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public HtlcInfo()
public HtlcInfo(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public HtlcInfo(RouterOuterClass.HtlcInfo apiObject)
public int getIncomingTimelock()
public void setIncomingTimelock(int value)
public int getOutgoingTimelock()
public void setOutgoingTimelock(int value)
public long getIncomingAmtMsat()
public void setIncomingAmtMsat(long value)
public long getOutgoingAmtMsat()
public void setOutgoingAmtMsat(long value)