Class ReadLandingPageRequest

java.lang.Object
de.codebarista.shopware.model.core.ReadLandingPageRequest

@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 ReadLandingPageRequest extends Object
ReadLandingPageRequest
  • Field Details

  • Constructor Details

    • ReadLandingPageRequest

      public ReadLandingPageRequest()
  • Method Details

    • page

      public ReadLandingPageRequest page(Integer page)
    • getPage

      @Nullable public Integer getPage()
      Search result page
      Returns:
      page
    • setPage

      public void setPage(Integer page)
    • limit

      public ReadLandingPageRequest limit(Integer limit)
    • getLimit

      @Nullable public Integer getLimit()
      Number of items per result page. If not set, the limit will be set according to the default products per page, defined in the system settings. minimum: 0
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
    • filter

    • addFilterItem

      public ReadLandingPageRequest addFilterItem(CriteriaFilterInner filterItem)
    • getFilter

      @Nullable public List<CriteriaFilterInner> 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

      public void setFilter(List<CriteriaFilterInner> filter)
    • sort

    • addSortItem

      public ReadLandingPageRequest addSortItem(CriteriaSortInner sortItem)
    • getSort

      @Nullable public List<CriteriaSortInner> getSort()
      Sorting in the search result.
      Returns:
      sort
    • setSort

      public void setSort(List<CriteriaSortInner> sort)
    • postFilter

      public ReadLandingPageRequest postFilter(List<CriteriaFilterInner> postFilter)
    • addPostFilterItem

      public ReadLandingPageRequest addPostFilterItem(CriteriaFilterInner postFilterItem)
    • getPostFilter

      @Nullable public List<CriteriaFilterInner> 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

      public void setPostFilter(List<CriteriaFilterInner> postFilter)
    • associations

      public ReadLandingPageRequest associations(Object associations)
    • getAssociations

      @Nullable public Object getAssociations()
      Used to fetch associations which are not fetched by default.
      Returns:
      associations
    • setAssociations

      public void setAssociations(Object associations)
    • aggregations

      public ReadLandingPageRequest aggregations(List<CriteriaAggregationsInner> aggregations)
    • addAggregationsItem

      public ReadLandingPageRequest addAggregationsItem(CriteriaAggregationsInner aggregationsItem)
    • getAggregations

      @Nullable public List<CriteriaAggregationsInner> 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

      public void setAggregations(List<CriteriaAggregationsInner> aggregations)
    • grouping

      public ReadLandingPageRequest grouping(List<String> grouping)
    • addGroupingItem

      public ReadLandingPageRequest addGroupingItem(String groupingItem)
    • getGrouping

      @Nullable public List<String> getGrouping()
      Perform groupings over certain fields
      Returns:
      grouping
    • setGrouping

      public void setGrouping(List<String> grouping)
    • fields

      public ReadLandingPageRequest fields(List<String> fields)
    • addFieldsItem

      public ReadLandingPageRequest addFieldsItem(String fieldsItem)
    • getFields

      @Nullable public List<String> getFields()
      Fields which should be returned in the search result.
      Returns:
      fields
    • setFields

      public void setFields(List<String> fields)
    • totalCountMode

      public ReadLandingPageRequest totalCountMode(ReadLandingPageRequest.TotalCountModeEnum totalCountMode)
    • getTotalCountMode

      @Nullable public ReadLandingPageRequest.TotalCountModeEnum 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

      public void setTotalCountMode(ReadLandingPageRequest.TotalCountModeEnum totalCountMode)
    • slots

      public ReadLandingPageRequest slots(String slots)
    • getSlots

      @Nullable public String getSlots()
      Resolves only the given slot identifiers. The identifiers have to be seperated by a `|` character.
      Returns:
      slots
    • setSlots

      public void setSlots(String slots)
    • order

      public ReadLandingPageRequest order(String order)
    • getOrder

      @Nullable public String getOrder()
      Specifies the sorting of the products by `availableSortings`. If not set, the default sorting will be set according to the shop settings. The available sorting options are sent within the response under the `availableSortings` key. In order to sort by a field, consider using the `sort` parameter from the listing criteria. Do not use both parameters together, as it might lead to unexpected results.
      Returns:
      order
    • setOrder

      public void setOrder(String order)
    • p

    • getP

      @Nullable public Integer getP()
      Search result page
      Returns:
      p
    • setP

      public void setP(Integer p)
    • manufacturer

      public ReadLandingPageRequest manufacturer(String manufacturer)
    • getManufacturer

      @Nullable public String getManufacturer()
      Filter by manufacturers. List of manufacturer identifiers separated by a `|`.
      Returns:
      manufacturer
    • setManufacturer

      public void setManufacturer(String manufacturer)
    • minPrice

      public ReadLandingPageRequest minPrice(Integer minPrice)
    • getMinPrice

      @Nullable public Integer getMinPrice()
      Filters by a minimum product price. Has to be lower than the `max-price` filter. minimum: 0
      Returns:
      minPrice
    • setMinPrice

      public void setMinPrice(Integer minPrice)
    • maxPrice

      public ReadLandingPageRequest maxPrice(Integer maxPrice)
    • getMaxPrice

      @Nullable public Integer getMaxPrice()
      Filters by a maximum product price. Has to be higher than the `min-price` filter. minimum: 0
      Returns:
      maxPrice
    • setMaxPrice

      public void setMaxPrice(Integer maxPrice)
    • rating

      public ReadLandingPageRequest rating(Integer rating)
    • getRating

      @Nullable public Integer getRating()
      Filter products with a minimum average rating.
      Returns:
      rating
    • setRating

      public void setRating(Integer rating)
    • shippingFree

      public ReadLandingPageRequest shippingFree(Boolean shippingFree)
    • getShippingFree

      @Nullable public Boolean getShippingFree()
      Filters products that are marked as shipping-free.
      Returns:
      shippingFree
    • setShippingFree

      public void setShippingFree(Boolean shippingFree)
    • properties

      public ReadLandingPageRequest properties(String properties)
    • getProperties

      @Nullable public String getProperties()
      Filters products by their properties. List of property identifiers separated by a `|`.
      Returns:
      properties
    • setProperties

      public void setProperties(String properties)
    • manufacturerFilter

      public ReadLandingPageRequest manufacturerFilter(Boolean manufacturerFilter)
    • getManufacturerFilter

      @Nullable public Boolean getManufacturerFilter()
      Enables/disabled filtering by manufacturer. If set to false, the `manufacturer` filter will be ignored. Also the `aggregations[manufacturer]` key will be removed from the response.
      Returns:
      manufacturerFilter
    • setManufacturerFilter

      public void setManufacturerFilter(Boolean manufacturerFilter)
    • priceFilter

      public ReadLandingPageRequest priceFilter(Boolean priceFilter)
    • getPriceFilter

      @Nullable public Boolean getPriceFilter()
      Enables/disabled filtering by price. If set to false, the `min-price` and `max-price` filter will be ignored. Also the `aggregations[price]` key will be removed from the response.
      Returns:
      priceFilter
    • setPriceFilter

      public void setPriceFilter(Boolean priceFilter)
    • ratingFilter

      public ReadLandingPageRequest ratingFilter(Boolean ratingFilter)
    • getRatingFilter

      @Nullable public Boolean getRatingFilter()
      Enables/disabled filtering by rating. If set to false, the `rating` filter will be ignored. Also the `aggregations[rating]` key will be removed from the response.
      Returns:
      ratingFilter
    • setRatingFilter

      public void setRatingFilter(Boolean ratingFilter)
    • shippingFreeFilter

      public ReadLandingPageRequest shippingFreeFilter(Boolean shippingFreeFilter)
    • getShippingFreeFilter

      @Nullable public Boolean getShippingFreeFilter()
      Enables/disabled filtering by shipping-free products. If set to false, the `shipping-free` filter will be ignored. Also the `aggregations[shipping-free]` key will be removed from the response.
      Returns:
      shippingFreeFilter
    • setShippingFreeFilter

      public void setShippingFreeFilter(Boolean shippingFreeFilter)
    • propertyFilter

      public ReadLandingPageRequest propertyFilter(Boolean propertyFilter)
    • getPropertyFilter

      @Nullable public Boolean getPropertyFilter()
      Enables/disabled filtering by properties products. If set to false, the `properties` filter will be ignored. Also the `aggregations[properties]` key will be removed from the response.
      Returns:
      propertyFilter
    • setPropertyFilter

      public void setPropertyFilter(Boolean propertyFilter)
    • propertyWhitelist

      public ReadLandingPageRequest propertyWhitelist(String propertyWhitelist)
    • getPropertyWhitelist

      @Nullable public String getPropertyWhitelist()
      A whitelist of property identifiers which can be used for filtering. List of property identifiers separated by a `|`. The `property-filter` must be `true`, otherwise the whitelist has no effect.
      Returns:
      propertyWhitelist
    • setPropertyWhitelist

      public void setPropertyWhitelist(String propertyWhitelist)
    • reduceAggregations

      public ReadLandingPageRequest reduceAggregations(String reduceAggregations)
    • getReduceAggregations

      @Nullable public String getReduceAggregations()
      By sending the parameter `reduce-aggregations` , the post-filters that were applied by the customer, are also applied to the aggregations. This has the consequence that only values are returned in the aggregations that would lead to further filter results. This parameter is a flag, the value has no effect.
      Returns:
      reduceAggregations
    • getReduceAggregations_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getReduceAggregations_JsonNullable()
    • setReduceAggregations_JsonNullable

      public void setReduceAggregations_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reduceAggregations)
    • setReduceAggregations

      public void setReduceAggregations(String reduceAggregations)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object