Class ProductListingResult
java.lang.Object
de.codebarista.shopware.model.core.ProductListingResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]",
comments="Generator version: 7.5.0")
public class ProductListingResult
extends Object
ProductListingResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(Object aggregationsItem) addAvailableSortingsItem(Object availableSortingsItem) addElementsItem(Product elementsItem) aggregations(List<Object> aggregations) availableSortings(List<Object> availableSortings) currentFilters(ProductListingResultAllOfCurrentFilters currentFilters) booleanContains aggregated data.Alias which can be used to restrict response fields.Contains the available sorting.Get currentFiltersGet elementsGet entitygetLimit()The actual limit.getPage()The actual page.Get sortinggetTotal()The total number of found entitiesinthashCode()voidsetAggregations(List<Object> aggregations) voidsetApiAlias(String apiAlias) voidsetAvailableSortings(List<Object> availableSortings) voidsetCurrentFilters(ProductListingResultAllOfCurrentFilters currentFilters) voidsetElements(List<Product> elements) voidvoidvoidvoidsetSorting(String sorting) voidtoString()
-
Field Details
-
JSON_PROPERTY_API_ALIAS
- See Also:
-
JSON_PROPERTY_ENTITY
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_CURRENT_FILTERS
- See Also:
-
JSON_PROPERTY_AVAILABLE_SORTINGS
- See Also:
-
JSON_PROPERTY_SORTING
- See Also:
-
JSON_PROPERTY_ELEMENTS
- See Also:
-
-
Constructor Details
-
ProductListingResult
public ProductListingResult()
-
-
Method Details
-
apiAlias
-
getApiAlias
Alias which can be used to restrict response fields. For more information see [includes](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#includes-apialias).- Returns:
- apiAlias
-
setApiAlias
-
entity
-
getEntity
Get entity- Returns:
- entity
-
setEntity
-
total
-
getTotal
The total number of found entities- Returns:
- total
-
setTotal
-
aggregations
-
addAggregationsItem
-
getAggregations
Contains aggregated data. A simple example is the determination of the average price from a product search query.- Returns:
- aggregations
-
setAggregations
-
page
-
getPage
The actual page. This can be used for pagination.- Returns:
- page
-
setPage
-
limit
-
getLimit
The actual limit. This is used for pagination and goes together with the page.- Returns:
- limit
-
setLimit
-
currentFilters
-
getCurrentFilters
Get currentFilters- Returns:
- currentFilters
-
setCurrentFilters
-
availableSortings
-
addAvailableSortingsItem
-
getAvailableSortings
Contains the available sorting. These can be used to show a sorting select-box in the product listing.- Returns:
- availableSortings
-
setAvailableSortings
-
sorting
-
getSorting
Get sorting- Returns:
- sorting
-
setSorting
-
elements
-
addElementsItem
-
getElements
Get elements- Returns:
- elements
-
setElements
-
equals
-
hashCode
public int hashCode() -
toString
-