Interface ProductSearchFacetRangesExpression
- All Superinterfaces:
ProductSearchFacetExpression
ProductSearchFacetRangesExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetRangesExpression productSearchFacetRangesExpression = ProductSearchFacetRangesExpression.builder()
.ranges(rangesBuilder -> rangesBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetRangesExpressionbuilder
(ProductSearchFacetRangesExpression template) create builder for ProductSearchFacetRangesExpression instancedeepCopy
(ProductSearchFacetRangesExpression template) factory method to create a deep copy of ProductSearchFacetRangesExpression@NotNull @Valid ProductSearchFacetRangesValue
Definition of the ranges facet.of()
factory methodof
(ProductSearchFacetRangesExpression template) factory method to create a shallow copy ProductSearchFacetRangesExpressionvoid
Definition of the ranges facet.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetRangesExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_search.ProductSearchFacetExpression
withProductSearchFacetExpression
-
Method Details
-
getRanges
Definition of the ranges facet.
- Returns:
- ranges
-
setRanges
Definition of the ranges facet.
- Parameters:
ranges
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetRangesExpression
-
of
factory method to create a shallow copy ProductSearchFacetRangesExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchFacetRangesExpression deepCopy(@Nullable ProductSearchFacetRangesExpression template) factory method to create a deep copy of ProductSearchFacetRangesExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetRangesExpression- Returns:
- builder
-
builder
static ProductSearchFacetRangesExpressionBuilder builder(ProductSearchFacetRangesExpression template) create builder for ProductSearchFacetRangesExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetRangesExpression
default <T> T withProductSearchFacetRangesExpression(Function<ProductSearchFacetRangesExpression, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetRangesExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-