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