public class EstimateFeeRequest extends Message<LightningApi.EstimateFeeRequest>
Message,
LightningApi.EstimateFeeRequest| Modifier and Type | Class and Description |
|---|---|
static class |
EstimateFeeRequest.AddrToAmountEntries
Wrapping class used for conversion between Map and XML notation.
|
static class |
EstimateFeeRequest.AddrToAmountEntry
Inner class AddrToAmountEntry for class EstimateFeeRequest.
|
| Modifier and Type | Field and Description |
|---|---|
protected EstimateFeeRequest.AddrToAmountEntries |
addrToAmountEntries |
builder, wrapperFactory| Constructor and Description |
|---|
EstimateFeeRequest()
Empty Constructor
|
EstimateFeeRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
EstimateFeeRequest(LightningApi.EstimateFeeRequest apiObject)
Constructor using underlying Lightning API Object
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Long> |
getAddrToAmountAsDetachedMap()
Returns AddrToAmount as a detached map.
|
EstimateFeeRequest.AddrToAmountEntries |
getAddrToAmountEntries()
Gets the map entries as a wrapped list, used for XML conversion.
|
int |
getMinConfs()
Getter for minConfs.
|
boolean |
getSpendUnconfirmed()
Getter for spendUnconfirmed.
|
int |
getTargetConf()
Getter for targetConf.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> valueMap)
Populates AddrToAmount with all the values in the map.
|
void |
setAddrToAmountEntries(EstimateFeeRequest.AddrToAmountEntries entries)
Sets a wrapped list of entries, used for XML conversion.
|
void |
setMinConfs(int value)
Setter for minConfs.
|
void |
setSpendUnconfirmed(boolean value)
Setter for spendUnconfirmed.
|
void |
setTargetConf(int value)
Setter for targetConf.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validateprotected EstimateFeeRequest.AddrToAmountEntries addrToAmountEntries
public EstimateFeeRequest()
public EstimateFeeRequest(javax.json.JsonReader jsonReader)
throws javax.json.JsonException
javax.json.JsonException - if problems was found with the supplied JSON data.public EstimateFeeRequest(LightningApi.EstimateFeeRequest apiObject)
public java.util.Map<java.lang.String,java.lang.Long> getAddrToAmountAsDetachedMap()
public void setAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> valueMap)
public EstimateFeeRequest.AddrToAmountEntries getAddrToAmountEntries()
public void setAddrToAmountEntries(EstimateFeeRequest.AddrToAmountEntries entries)
public int getTargetConf()
public void setTargetConf(int value)
public int getMinConfs()
public void setMinConfs(int value)
public boolean getSpendUnconfirmed()
public void setSpendUnconfirmed(boolean value)
protected void populateRepeatedFields()
MessagepopulateRepeatedFields in class Message<LightningApi.EstimateFeeRequest>