public class ChannelBalanceResponse extends Message<LightningApi.ChannelBalanceResponse>
Message
,
LightningApi.ChannelBalanceResponse
builder, wrapperFactory
Constructor and Description |
---|
ChannelBalanceResponse()
Empty Constructor
|
ChannelBalanceResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ChannelBalanceResponse(LightningApi.ChannelBalanceResponse apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getBalance()
Getter for balance.
|
Amount |
getLocalBalance()
Getter for a list of localBalance.
|
long |
getPendingOpenBalance()
Getter for pendingOpenBalance.
|
Amount |
getPendingOpenLocalBalance()
Getter for a list of pendingOpenLocalBalance.
|
Amount |
getPendingOpenRemoteBalance()
Getter for a list of pendingOpenRemoteBalance.
|
Amount |
getRemoteBalance()
Getter for a list of remoteBalance.
|
Amount |
getUnsettledLocalBalance()
Getter for a list of unsettledLocalBalance.
|
Amount |
getUnsettledRemoteBalance()
Getter for a list of unsettledRemoteBalance.
|
void |
setBalance(long value)
Setter for balance.
|
void |
setLocalBalance(Amount value)
Setter for list of localBalance.
|
void |
setPendingOpenBalance(long value)
Setter for pendingOpenBalance.
|
void |
setPendingOpenLocalBalance(Amount value)
Setter for list of pendingOpenLocalBalance.
|
void |
setPendingOpenRemoteBalance(Amount value)
Setter for list of pendingOpenRemoteBalance.
|
void |
setRemoteBalance(Amount value)
Setter for list of remoteBalance.
|
void |
setUnsettledLocalBalance(Amount value)
Setter for list of unsettledLocalBalance.
|
void |
setUnsettledRemoteBalance(Amount value)
Setter for list of unsettledRemoteBalance.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public ChannelBalanceResponse()
public ChannelBalanceResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ChannelBalanceResponse(LightningApi.ChannelBalanceResponse apiObject)
public long getBalance()
public void setBalance(long value)
public long getPendingOpenBalance()
public void setPendingOpenBalance(long value)
public Amount getLocalBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setLocalBalance(Amount value)
public Amount getRemoteBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setRemoteBalance(Amount value)
public Amount getUnsettledLocalBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setUnsettledLocalBalance(Amount value)
public Amount getUnsettledRemoteBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setUnsettledRemoteBalance(Amount value)
public Amount getPendingOpenLocalBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPendingOpenLocalBalance(Amount value)
public Amount getPendingOpenRemoteBalance() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPendingOpenRemoteBalance(Amount value)