public class OutputDetail extends Message<LightningApi.OutputDetail>
Message
,
LightningApi.OutputDetail
builder, wrapperFactory
Constructor and Description |
---|
OutputDetail()
Empty Constructor
|
OutputDetail(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
OutputDetail(LightningApi.OutputDetail apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Getter for address.
|
long |
getAmount()
Getter for amount.
|
boolean |
getIsOurAddress()
Getter for isOurAddress.
|
long |
getOutputIndex()
Getter for outputIndex.
|
OutputScriptType |
getOutputType()
Getter for outputType.
|
java.lang.String |
getPkScript()
Getter for pkScript.
|
void |
setAddress(java.lang.String value)
Setter for address.
|
void |
setAmount(long value)
Setter for amount.
|
void |
setIsOurAddress(boolean value)
Setter for isOurAddress.
|
void |
setOutputIndex(long value)
Setter for outputIndex.
|
void |
setOutputType(OutputScriptType value)
Setter for outputType.
|
void |
setPkScript(java.lang.String value)
Setter for pkScript.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public OutputDetail()
public OutputDetail(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public OutputDetail(LightningApi.OutputDetail apiObject)
public OutputScriptType getOutputType()
public void setOutputType(OutputScriptType value)
public java.lang.String getAddress()
public void setAddress(java.lang.String value)
public java.lang.String getPkScript()
public void setPkScript(java.lang.String value)
public long getOutputIndex()
public void setOutputIndex(long value)
public long getAmount()
public void setAmount(long value)
public boolean getIsOurAddress()
public void setIsOurAddress(boolean value)