public class AMPInvoiceState extends Message<LightningApi.AMPInvoiceState>
Message
,
LightningApi.AMPInvoiceState
builder, wrapperFactory
Constructor and Description |
---|
AMPInvoiceState()
Empty Constructor
|
AMPInvoiceState(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
AMPInvoiceState(LightningApi.AMPInvoiceState apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getAmtPaidMsat()
Getter for amtPaidMsat.
|
long |
getSettleIndex()
Getter for settleIndex.
|
long |
getSettleTime()
Getter for settleTime.
|
InvoiceHTLCState |
getState()
Getter for state.
|
void |
setAmtPaidMsat(long value)
Setter for amtPaidMsat.
|
void |
setSettleIndex(long value)
Setter for settleIndex.
|
void |
setSettleTime(long value)
Setter for settleTime.
|
void |
setState(InvoiceHTLCState value)
Setter for state.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public AMPInvoiceState()
public AMPInvoiceState(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public AMPInvoiceState(LightningApi.AMPInvoiceState apiObject)
public InvoiceHTLCState getState()
public void setState(InvoiceHTLCState value)
public long getSettleIndex()
public void setSettleIndex(long value)
public long getSettleTime()
public void setSettleTime(long value)
public long getAmtPaidMsat()
public void setAmtPaidMsat(long value)