Interface OrderSearchNumberRangeExpression
- All Superinterfaces:
OrderSearchQuery
,OrderSearchQueryExpression
- All Known Implementing Classes:
OrderSearchNumberRangeExpressionImpl
OrderSearchNumberRangeExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchNumberRangeExpression orderSearchNumberRangeExpression = OrderSearchNumberRangeExpression.builder()
.range(rangeBuilder -> rangeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchNumberRangeExpressionbuilder
(OrderSearchNumberRangeExpression template) create builder for OrderSearchNumberRangeExpression instancedeepCopy
(OrderSearchNumberRangeExpression template) factory method to create a deep copy of OrderSearchNumberRangeExpression@NotNull @Valid OrderSearchNumberRangeValue
getRange()
of()
factory methodof
(OrderSearchNumberRangeExpression template) factory method to create a shallow copy OrderSearchNumberRangeExpressionvoid
set rangestatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchNumberRangeExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderSearchQuery
withOrderSearchQuery
Methods inherited from interface com.commercetools.api.models.order.OrderSearchQueryExpression
withOrderSearchQueryExpression
-
Method Details
-
getRange
- Returns:
- range
-
setRange
set range- Parameters:
range
- value to be set
-
of
factory method- Returns:
- instance of OrderSearchNumberRangeExpression
-
of
factory method to create a shallow copy OrderSearchNumberRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderSearchNumberRangeExpression deepCopy(@Nullable OrderSearchNumberRangeExpression template) factory method to create a deep copy of OrderSearchNumberRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchNumberRangeExpression- Returns:
- builder
-
builder
create builder for OrderSearchNumberRangeExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchNumberRangeExpression
default <T> T withOrderSearchNumberRangeExpression(Function<OrderSearchNumberRangeExpression, 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<OrderSearchNumberRangeExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-