Interface OrderSearchDateRangeExpression
- All Superinterfaces:
OrderSearchQuery
,OrderSearchQueryExpression
OrderSearchDateRangeExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchDateRangeExpression orderSearchDateRangeExpression = OrderSearchDateRangeExpression.builder()
.range(rangeBuilder -> rangeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchDateRangeExpressionbuilder
(OrderSearchDateRangeExpression template) create builder for OrderSearchDateRangeExpression instancedeepCopy
(OrderSearchDateRangeExpression template) factory method to create a deep copy of OrderSearchDateRangeExpression@NotNull @Valid OrderSearchDateRangeValue
getRange()
of()
factory methodof
(OrderSearchDateRangeExpression template) factory method to create a shallow copy OrderSearchDateRangeExpressionvoid
set rangestatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchDateRangeExpression>
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 OrderSearchDateRangeExpression
-
of
factory method to create a shallow copy OrderSearchDateRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderSearchDateRangeExpression deepCopy(@Nullable OrderSearchDateRangeExpression template) factory method to create a deep copy of OrderSearchDateRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchDateRangeExpression- Returns:
- builder
-
builder
create builder for OrderSearchDateRangeExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchDateRangeExpression
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<OrderSearchDateRangeExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-