Class ReadOrderRequest
java.lang.Object
de.codebarista.shopware.model.core.ReadOrderRequest
@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 ReadOrderRequest
extends Object
ReadOrderRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether the total for the total number of hits should be determined for the search query. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(CriteriaAggregationsInner aggregationsItem) addFieldsItem(String fieldsItem) addFilterItem(CriteriaFilterInner filterItem) addGroupingItem(String groupingItem) addPostFilterItem(CriteriaFilterInner postFilterItem) addSortItem(CriteriaSortInner sortItem) aggregations(List<CriteriaAggregationsInner> aggregations) associations(Object associations) checkPromotion(Boolean checkPromotion) booleanfilter(List<CriteriaFilterInner> filter) Used to perform aggregations on the search result.Used to fetch associations which are not fetched by default.Check if the payment method of the order is still changeable.Fields which should be returned in the search result.List of filters to restrict the search result.Perform groupings over certain fieldsgetLimit()Number of items per result pagegetPage()Search result pageFilters that applied without affecting aggregations.getSort()Sorting in the search result.Whether the total for the total number of hits should be determined for the search query.inthashCode()postFilter(List<CriteriaFilterInner> postFilter) voidsetAggregations(List<CriteriaAggregationsInner> aggregations) voidsetAssociations(Object associations) voidsetCheckPromotion(Boolean checkPromotion) voidvoidsetFilter(List<CriteriaFilterInner> filter) voidsetGrouping(List<String> grouping) voidvoidvoidsetPostFilter(List<CriteriaFilterInner> postFilter) voidsetSort(List<CriteriaSortInner> sort) voidsetTotalCountMode(ReadOrderRequest.TotalCountModeEnum totalCountMode) sort(List<CriteriaSortInner> sort) toString()totalCountMode(ReadOrderRequest.TotalCountModeEnum totalCountMode)
-
Field Details
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_POST_FILTER
- See Also:
-
JSON_PROPERTY_ASSOCIATIONS
- See Also:
-
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_GROUPING
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_TOTAL_COUNT_MODE
- See Also:
-
JSON_PROPERTY_CHECK_PROMOTION
- See Also:
-
-
Constructor Details
-
ReadOrderRequest
public ReadOrderRequest()
-
-
Method Details
-
page
-
getPage
Search result page- Returns:
- page
-
setPage
-
limit
-
getLimit
Number of items per result page- Returns:
- limit
-
setLimit
-
filter
-
addFilterItem
-
getFilter
List of filters to restrict the search result. For more information, see [Search Queries > Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#filter)- Returns:
- filter
-
setFilter
-
sort
-
addSortItem
-
getSort
Sorting in the search result.- Returns:
- sort
-
setSort
-
postFilter
-
addPostFilterItem
-
getPostFilter
Filters that applied without affecting aggregations. For more information, see [Search Queries > Post Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#post-filter)- Returns:
- postFilter
-
setPostFilter
-
associations
-
getAssociations
Used to fetch associations which are not fetched by default.- Returns:
- associations
-
setAssociations
-
aggregations
-
addAggregationsItem
-
getAggregations
Used to perform aggregations on the search result. For more information, see [Search Queries > Aggregations](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#aggregations)- Returns:
- aggregations
-
setAggregations
-
grouping
-
addGroupingItem
-
getGrouping
Perform groupings over certain fields- Returns:
- grouping
-
setGrouping
-
fields
-
addFieldsItem
-
getFields
Fields which should be returned in the search result.- Returns:
- fields
-
setFields
-
totalCountMode
-
getTotalCountMode
Whether the total for the total number of hits should be determined for the search query. none = disabled total count, exact = calculate exact total amount (slow), next-pages = calculate only for next page (fast)- Returns:
- totalCountMode
-
setTotalCountMode
-
checkPromotion
-
getCheckPromotion
Check if the payment method of the order is still changeable.- Returns:
- checkPromotion
-
setCheckPromotion
-
equals
-
hashCode
public int hashCode() -
toString
-