Class CardFinancialTransactionListPage
-
- All Implemented Interfaces:
-
com.lithic.api.core.Page
public final class CardFinancialTransactionListPage implements Page<FinancialTransaction>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardFinancialTransactionListPage.BuilderA builder for CardFinancialTransactionListPage.
-
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
CardFinancialTransactionListPage nextPage()
Returns the page after this one by making another request.
-
autoPager
final AutoPager<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 CardFinancialTransactionListPage.Builder toBuilder()
-
builder
final static CardFinancialTransactionListPage.Builder builder()
Returns a mutable builder for constructing an instance of CardFinancialTransactionListPage.
The following fields are required:
.service() .params() .response()
-
-
-
-