Class AddressCollection


public final class AddressCollection extends PaginatedCollection<Address>
  • Constructor Details

    • AddressCollection

      public AddressCollection()
  • Method Details

    • buildNextPageParameters

      protected Map<String,Object> buildNextPageParameters(List<Address> addresses, Integer pageSize)
      Description copied from class: PaginatedCollection
      Build the parameters for retrieving the next page of a paginated collection.
      Specified by:
      buildNextPageParameters in class PaginatedCollection<Address>
      Parameters:
      addresses - 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.