Class EndShipperCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildNextPageParameters
(List<EndShipper> endShippers, Integer pageSize) Build the parameters for retrieving the next page of a paginated collection.Methods inherited from class com.easypost.model.PaginatedCollection
getNextPage, getNextPage
Methods inherited from class com.easypost.model.EasyPostResource
equals, hashCode, prettyPrint, toString
-
Constructor Details
-
EndShipperCollection
public EndShipperCollection()
-
-
Method Details
-
buildNextPageParameters
protected Map<String,Object> buildNextPageParameters(List<EndShipper> endShippers, Integer pageSize) throws EndOfPaginationError Description copied from class:PaginatedCollection
Build the parameters for retrieving the next page of a paginated collection.- Specified by:
buildNextPageParameters
in classPaginatedCollection<EndShipper>
- Parameters:
endShippers
- The current entries in the collection. Needed to determine the next page parameters.pageSize
- The page size to use for the next page.- Returns:
- The parameters for retrieving the next page of a paginated collection.
- Throws:
EndOfPaginationError
-