Class CardFinancialTransactionListPageAsync
-
- All Implemented Interfaces:
-
com.lithic.api.core.PageAsync
public final class CardFinancialTransactionListPageAsync implements PageAsync<FinancialTransaction>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardFinancialTransactionListPageAsync.BuilderA builder for CardFinancialTransactionListPageAsync.
-
Method Summary
-
-
Method Detail
-
data
final List<FinancialTransaction> data()
Delegates to CardFinancialTransactionListPageResponse, but gracefully handles missing data.
-
hasMore
final Optional<Boolean> hasMore()
Delegates to CardFinancialTransactionListPageResponse, 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 CardFinancialTransactionListParams nextPageParams()
-
nextPage
CompletableFuture<CardFinancialTransactionListPageAsync> nextPage()
Returns the page after this one by making another request.
-
autoPager
final AutoPagerAsync<FinancialTransaction> autoPager()
-
params
final CardFinancialTransactionListParams params()
The parameters that were used to request this page.
-
response
final CardFinancialTransactionListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final CardFinancialTransactionListPageAsync.Builder toBuilder()
-
builder
final static CardFinancialTransactionListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of CardFinancialTransactionListPageAsync.
The following fields are required:
.service() .streamHandlerExecutor() .params() .response()
-
-
-
-