The type that defines the fields for a paginated result set. The response consists of 0 or more sequenced pages where each page has 0 or more items.
- Full name:
\SapientPro\EbayBrowseSDK\Models\SearchPagedCollection
- This class implements:
\SapientPro\EbayBrowseSDK\Models\EbayModelInterface
The auto-corrected inputs.
public ?\SapientPro\EbayBrowseSDK\Models\AutoCorrections $autoCorrections
The URI of the current page of results.
The following example of the search method returns items 1 thru 5 from the list of items found. https://api.ebay.com/buy/v1/item_summary/search?q=shirt&limit=5&offset=0
.
public string $href
An array of the items on this page. The items are sorted according to the sorting method specified in the request.
public array $itemSummaries
The value of the limit parameter submitted in the request, which is the maximum number of items to return on a page, from the result set. A result set is the complete set of items returned by the method.
public int $limit
The URI for the next page of results. This value is returned if there is an additional page of results to return from the result set.
The following example of the search method returns items 5 thru 10 from the list of items found.
https://api.ebay.com/buy/v1/item_summary/search?query=t-shirts&limit=5&offset=10
public ?string $next
This value indicates the offset used for current page of items being returned. Assume the initial request used an offset of 0
and a limit of 3
. Then in the first page of results, this value would be 0
, and items 1-3 are returned. For the second page, this value is 3
and so on.
public int $offset
The URI for the previous page of results. This is returned if there is a previous page of results from the result set.
The following example of the search method returns items 1 thru 5 from the list of items found, which would be the first set of items returned.
https://api.ebay.com/buy/v1/item_summary/search?query=t-shirts&limit=5&offset=0
public string $prev
The container for all the search refinements.
public \SapientPro\EbayBrowseSDK\Models\Refinement $refinement
The total number of items that match the input criteria.
Note: total
is just an indicator of the number of listings for a given query. It could vary based on the number of listings with variations included in the result. It is strongly recommended that total
not be used in pagination use cases. Instead, use next to determine the results on the next page.
public int $total
The container with all the warnings for the request.
public ?array $warnings
Automatically generated from source code comments on 2023-06-15 using phpDocumentor and saggre/phpdocumentor-markdown