Package com.easypost.model
Class ShipmentCollection
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class com.easypost.model.PaginatedCollection
getNextPage, getNextPageMethods inherited from class com.easypost.model.EasyPostResource
equals, hashCode, prettyPrint, toString 
- 
Constructor Details
- 
ShipmentCollection
public ShipmentCollection() 
 - 
 - 
Method Details
- 
buildNextPageParameters
protected final Map<String,Object> buildNextPageParameters(List<Shipment> shipments, Integer pageSize) throws EndOfPaginationError Description copied from class:PaginatedCollectionBuild the parameters for retrieving the next page of a paginated collection.- Specified by:
 buildNextPageParametersin classPaginatedCollection<Shipment>- Parameters:
 shipments- 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
 
 -