Class FinancialTransactionListPageAsync
-
- All Implemented Interfaces:
-
com.lithic.api.core.PageAsync
public final class FinancialTransactionListPageAsync implements PageAsync<FinancialTransaction>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFinancialTransactionListPageAsync.BuilderA builder for FinancialTransactionListPageAsync.
-
Method Summary
-
-
Method Detail
-
data
final List<FinancialTransaction> data()
Delegates to FinancialTransactionListPageResponse, but gracefully handles missing data.
-
hasMore
final Optional<Boolean> hasMore()
Delegates to FinancialTransactionListPageResponse, but gracefully handles missing data.
-
items
List<FinancialTransaction> items()
Returns the items in this page.
-
hasNextPage
Boolean hasNextPage()
Returns whether there's another page after this one.
The method generally doesn't make requests so the result depends entirely on the data in this page. If a significant amount of time has passed between requesting this page and calling this method, then the result could be stale.
-
nextPageParams
final FinancialTransactionListParams nextPageParams()
-
nextPage
CompletableFuture<FinancialTransactionListPageAsync> nextPage()
Returns the page after this one by making another request.
-
autoPager
final AutoPagerAsync<FinancialTransaction> autoPager()
-
params
final FinancialTransactionListParams params()
The parameters that were used to request this page.
-
response
final FinancialTransactionListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final FinancialTransactionListPageAsync.Builder toBuilder()
-
builder
final static FinancialTransactionListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of FinancialTransactionListPageAsync.
The following fields are required:
.service() .streamHandlerExecutor() .params() .response()
-
-
-
-