public class ListPaymentsResponse extends Message<LightningApi.ListPaymentsResponse>
Message
,
LightningApi.ListPaymentsResponse
builder, wrapperFactory
Constructor and Description |
---|
ListPaymentsResponse()
Empty Constructor
|
ListPaymentsResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ListPaymentsResponse(LightningApi.ListPaymentsResponse apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getFirstIndexOffset()
Getter for firstIndexOffset.
|
long |
getLastIndexOffset()
Getter for lastIndexOffset.
|
java.util.List<Payment> |
getPayments()
Getter for a list of payments.
|
long |
getTotalNumPayments()
Getter for totalNumPayments.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setFirstIndexOffset(long value)
Setter for firstIndexOffset.
|
void |
setLastIndexOffset(long value)
Setter for lastIndexOffset.
|
void |
setPayments(java.util.List<Payment> valueList)
Setter for list of payments.
|
void |
setTotalNumPayments(long value)
Setter for totalNumPayments.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public ListPaymentsResponse()
public ListPaymentsResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ListPaymentsResponse(LightningApi.ListPaymentsResponse apiObject)
public java.util.List<Payment> getPayments() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPayments(java.util.List<Payment> valueList)
public long getFirstIndexOffset()
public void setFirstIndexOffset(long value)
public long getLastIndexOffset()
public void setLastIndexOffset(long value)
public long getTotalNumPayments()
public void setTotalNumPayments(long value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.ListPaymentsResponse>