public class PendingHTLC extends Message<LightningApi.PendingHTLC>
Message
,
LightningApi.PendingHTLC
builder, wrapperFactory
Constructor and Description |
---|
PendingHTLC()
Empty Constructor
|
PendingHTLC(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
PendingHTLC(LightningApi.PendingHTLC apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getAmount()
Getter for amount.
|
int |
getBlocksTilMaturity()
Getter for blocksTilMaturity.
|
boolean |
getIncoming()
Getter for incoming.
|
int |
getMaturityHeight()
Getter for maturityHeight.
|
java.lang.String |
getOutpoint()
Getter for outpoint.
|
int |
getStage()
Getter for stage.
|
void |
setAmount(long value)
Setter for amount.
|
void |
setBlocksTilMaturity(int value)
Setter for blocksTilMaturity.
|
void |
setIncoming(boolean value)
Setter for incoming.
|
void |
setMaturityHeight(int value)
Setter for maturityHeight.
|
void |
setOutpoint(java.lang.String value)
Setter for outpoint.
|
void |
setStage(int value)
Setter for stage.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public PendingHTLC()
public PendingHTLC(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public PendingHTLC(LightningApi.PendingHTLC apiObject)
public boolean getIncoming()
public void setIncoming(boolean value)
public long getAmount()
public void setAmount(long value)
public java.lang.String getOutpoint()
public void setOutpoint(java.lang.String value)
public int getMaturityHeight()
public void setMaturityHeight(int value)
public int getBlocksTilMaturity()
public void setBlocksTilMaturity(int value)
public int getStage()
public void setStage(int value)