Package net.osslabz.lnd.dto
Class LnrpcListPaymentsResponse
java.lang.Object
net.osslabz.lnd.dto.LnrpcListPaymentsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcListPaymentsResponse
extends Object
LnrpcListPaymentsResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaymentsItem(LnrpcPayment paymentsItem) booleanfirstIndexOffset(String firstIndexOffset) The index of the first item in the set of returned payments.The index of the last item in the set of returned payments.Get paymentsWill only be set if count_total_payments in the request was set.inthashCode()lastIndexOffset(String lastIndexOffset) payments(List<LnrpcPayment> payments) voidsetFirstIndexOffset(String firstIndexOffset) voidsetLastIndexOffset(String lastIndexOffset) voidsetPayments(List<LnrpcPayment> payments) voidsetTotalNumPayments(String totalNumPayments) toString()totalNumPayments(String totalNumPayments)
-
Field Details
-
SERIALIZED_NAME_PAYMENTS
- See Also:
-
SERIALIZED_NAME_FIRST_INDEX_OFFSET
- See Also:
-
SERIALIZED_NAME_LAST_INDEX_OFFSET
- See Also:
-
SERIALIZED_NAME_TOTAL_NUM_PAYMENTS
- See Also:
-
-
Constructor Details
-
LnrpcListPaymentsResponse
public LnrpcListPaymentsResponse()
-
-
Method Details
-
payments
-
addPaymentsItem
-
getPayments
Get payments- Returns:
- payments
-
setPayments
-
firstIndexOffset
-
getFirstIndexOffset
The index of the first item in the set of returned payments. This can be used as the index_offset to continue seeking backwards in the next request.- Returns:
- firstIndexOffset
-
setFirstIndexOffset
-
lastIndexOffset
-
getLastIndexOffset
The index of the last item in the set of returned payments. This can be used as the index_offset to continue seeking forwards in the next request.- Returns:
- lastIndexOffset
-
setLastIndexOffset
-
totalNumPayments
-
getTotalNumPayments
Will only be set if count_total_payments in the request was set. Represents the total number of payments (complete and incomplete, independent of the number of payments requested in the query) currently present in the payments database.- Returns:
- totalNumPayments
-
setTotalNumPayments
-
equals
-
hashCode
public int hashCode() -
toString
-