Interface OrderSearchOrExpression
- All Superinterfaces:
OrderSearchCompoundExpression
,OrderSearchQuery
OrderSearchOrExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchOrExpression orderSearchOrExpression = OrderSearchOrExpression.builder()
.plusOr(orBuilder -> orBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchOrExpressionbuilder
(OrderSearchOrExpression template) create builder for OrderSearchOrExpression instancestatic OrderSearchOrExpression
deepCopy
(OrderSearchOrExpression template) factory method to create a deep copy of OrderSearchOrExpression@NotNull @Valid List<OrderSearchQuery>
getOr()
static OrderSearchOrExpression
of()
factory methodstatic OrderSearchOrExpression
of
(OrderSearchOrExpression template) factory method to create a shallow copy OrderSearchOrExpressionvoid
setOr
(OrderSearchQuery... or) set orvoid
setOr
(List<OrderSearchQuery> or) set orstatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchOrExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderSearchCompoundExpression
withOrderSearchCompoundExpression
Methods inherited from interface com.commercetools.api.models.order.OrderSearchQuery
withOrderSearchQuery
-
Method Details
-
getOr
- Returns:
- or
-
setOr
set or- Parameters:
or
- values to be set
-
setOr
set or- Parameters:
or
- values to be set
-
of
factory method- Returns:
- instance of OrderSearchOrExpression
-
of
factory method to create a shallow copy OrderSearchOrExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSearchOrExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchOrExpression- Returns:
- builder
-
builder
create builder for OrderSearchOrExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchOrExpression
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
-