public class SendManyRequest extends Message<LightningApi.SendManyRequest>
Message
,
LightningApi.SendManyRequest
Modifier and Type | Class and Description |
---|---|
static class |
SendManyRequest.AddrToAmountEntries
Wrapping class used for conversion between Map and XML notation.
|
static class |
SendManyRequest.AddrToAmountEntry
Inner class AddrToAmountEntry for class SendManyRequest.
|
Modifier and Type | Field and Description |
---|---|
protected SendManyRequest.AddrToAmountEntries |
addrToAmountEntries |
builder, wrapperFactory
Constructor and Description |
---|
SendManyRequest()
Empty Constructor
|
SendManyRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
SendManyRequest(LightningApi.SendManyRequest 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.
|
SendManyRequest.AddrToAmountEntries |
getAddrToAmountEntries()
Gets the map entries as a wrapped list, used for XML conversion.
|
java.lang.String |
getLabel()
Getter for label.
|
int |
getMinConfs()
Getter for minConfs.
|
long |
getSatPerByte()
Getter for satPerByte.
|
long |
getSatPerVbyte()
Getter for satPerVbyte.
|
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(SendManyRequest.AddrToAmountEntries entries)
Sets a wrapped list of entries, used for XML conversion.
|
void |
setLabel(java.lang.String value)
Setter for label.
|
void |
setMinConfs(int value)
Setter for minConfs.
|
void |
setSatPerByte(long value)
Setter for satPerByte.
|
void |
setSatPerVbyte(long value)
Setter for satPerVbyte.
|
void |
setSpendUnconfirmed(boolean value)
Setter for spendUnconfirmed.
|
void |
setTargetConf(int value)
Setter for targetConf.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
protected SendManyRequest.AddrToAmountEntries addrToAmountEntries
public SendManyRequest()
public SendManyRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public SendManyRequest(LightningApi.SendManyRequest 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 SendManyRequest.AddrToAmountEntries getAddrToAmountEntries()
public void setAddrToAmountEntries(SendManyRequest.AddrToAmountEntries entries)
public int getTargetConf()
public void setTargetConf(int value)
public long getSatPerVbyte()
public void setSatPerVbyte(long value)
public long getSatPerByte()
public void setSatPerByte(long value)
public java.lang.String getLabel()
public void setLabel(java.lang.String value)
public int getMinConfs()
public void setMinConfs(int value)
public boolean getSpendUnconfirmed()
public void setSpendUnconfirmed(boolean value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.SendManyRequest>