public class TxTemplate extends Message<WalletKitOuterClass.TxTemplate>
Message, 
WalletKitOuterClass.TxTemplate| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TxTemplate.OutputsEntries
Wrapping class used for conversion between Map and XML notation. 
 | 
static class  | 
TxTemplate.OutputsEntry
Inner class OutputsEntry for class TxTemplate. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected TxTemplate.OutputsEntries | 
outputsEntries  | 
builder, wrapperFactory| Constructor and Description | 
|---|
TxTemplate()
Empty Constructor 
 | 
TxTemplate(javax.json.JsonReader jsonReader)
Json Parsing Constructor 
 | 
TxTemplate(WalletKitOuterClass.TxTemplate apiObject)
Constructor using underlying Lightning API Object 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<OutPoint> | 
getInputs()
Getter for a list of inputs. 
 | 
java.util.Map<java.lang.String,java.lang.Long> | 
getOutputsAsDetachedMap()
Returns outputs as a detached map. 
 | 
TxTemplate.OutputsEntries | 
getOutputsEntries()
Gets the map entries as a wrapped list, used for XML conversion. 
 | 
protected void | 
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields. 
 | 
void | 
setInputs(java.util.List<OutPoint> valueList)
Setter for list of inputs. 
 | 
void | 
setOutputs(java.util.Map<java.lang.String,java.lang.Long> valueMap)
Populates outputs with all the values in the map. 
 | 
void | 
setOutputsEntries(TxTemplate.OutputsEntries entries)
Sets a wrapped list of entries, used for XML conversion. 
 | 
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validateprotected TxTemplate.OutputsEntries outputsEntries
public TxTemplate()
public TxTemplate(javax.json.JsonReader jsonReader)
           throws javax.json.JsonException
javax.json.JsonException - if problems was found with the supplied JSON data.public TxTemplate(WalletKitOuterClass.TxTemplate apiObject)
public java.util.List<OutPoint> getInputs() throws ClientSideException
ClientSideException - if problems occurred constructing the wrapped object.public void setInputs(java.util.List<OutPoint> valueList)
public java.util.Map<java.lang.String,java.lang.Long> getOutputsAsDetachedMap()
public void setOutputs(java.util.Map<java.lang.String,java.lang.Long> valueMap)
public TxTemplate.OutputsEntries getOutputsEntries()
public void setOutputsEntries(TxTemplate.OutputsEntries entries)
protected void populateRepeatedFields()
MessagepopulateRepeatedFields in class Message<WalletKitOuterClass.TxTemplate>