Skip to content

Latest commit

 

History

History
171 lines (69 loc) · 3.47 KB

SearchPagedCollection.md

File metadata and controls

171 lines (69 loc) · 3.47 KB

SearchPagedCollection

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.

Properties

autoCorrections

The auto-corrected inputs.

public ?\SapientPro\EbayBrowseSDK\Models\AutoCorrections $autoCorrections

href

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

itemSummaries

An array of the items on this page. The items are sorted according to the sorting method specified in the request.

public array $itemSummaries

limit

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

next

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

offset

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

prev

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

refinement

The container for all the search refinements.

public \SapientPro\EbayBrowseSDK\Models\Refinement $refinement

total

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

warnings

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