Interface OrderSearchAndExpression
- All Superinterfaces:
OrderSearchCompoundExpression
,OrderSearchQuery
- All Known Implementing Classes:
OrderSearchAndExpressionImpl
OrderSearchAndExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchAndExpression orderSearchAndExpression = OrderSearchAndExpression.builder()
.plusAnd(andBuilder -> andBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchAndExpressionbuilder
(OrderSearchAndExpression template) create builder for OrderSearchAndExpression instancestatic OrderSearchAndExpression
deepCopy
(OrderSearchAndExpression template) factory method to create a deep copy of OrderSearchAndExpression@NotNull @Valid List<OrderSearchQuery>
getAnd()
static OrderSearchAndExpression
of()
factory methodstatic OrderSearchAndExpression
of
(OrderSearchAndExpression template) factory method to create a shallow copy OrderSearchAndExpressionvoid
setAnd
(OrderSearchQuery... and) set andvoid
setAnd
(List<OrderSearchQuery> and) set andstatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchAndExpression>
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
-
getAnd
- Returns:
- and
-
setAnd
set and- Parameters:
and
- values to be set
-
setAnd
set and- Parameters:
and
- values to be set
-
of
factory method- Returns:
- instance of OrderSearchAndExpression
-
of
factory method to create a shallow copy OrderSearchAndExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSearchAndExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchAndExpression- Returns:
- builder
-
builder
create builder for OrderSearchAndExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchAndExpression
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
-