Interface SearchNumberRangeExpression
- All Superinterfaces:
SearchQuery
,SearchQueryExpression
SearchNumberRangeExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchNumberRangeExpression searchNumberRangeExpression = SearchNumberRangeExpression.builder()
.range(rangeBuilder -> rangeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchNumberRangeExpressionbuilder
(SearchNumberRangeExpression template) create builder for SearchNumberRangeExpression instancestatic SearchNumberRangeExpression
deepCopy
(SearchNumberRangeExpression template) factory method to create a deep copy of SearchNumberRangeExpression@NotNull @Valid SearchNumberRangeValue
getRange()
static SearchNumberRangeExpression
of()
factory methodstatic SearchNumberRangeExpression
of
(SearchNumberRangeExpression template) factory method to create a shallow copy SearchNumberRangeExpressionvoid
setRange
(SearchNumberRangeValue range) set rangestatic com.fasterxml.jackson.core.type.TypeReference<SearchNumberRangeExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
Methods inherited from interface com.commercetools.api.models.search.SearchQueryExpression
withSearchQueryExpression
-
Method Details
-
getRange
- Returns:
- range
-
setRange
set range- Parameters:
range
- value to be set
-
of
factory method- Returns:
- instance of SearchNumberRangeExpression
-
of
factory method to create a shallow copy SearchNumberRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SearchNumberRangeExpression deepCopy(@Nullable SearchNumberRangeExpression template) factory method to create a deep copy of SearchNumberRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchNumberRangeExpression- Returns:
- builder
-
builder
create builder for SearchNumberRangeExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchNumberRangeExpression
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-