Class OrderSearchNotExpressionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchNotExpressionBuilder
- All Implemented Interfaces:
Builder<OrderSearchNotExpression>
public class OrderSearchNotExpressionBuilder
extends Object
implements Builder<OrderSearchNotExpression>
OrderSearchNotExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchNotExpression orderSearchNotExpression = OrderSearchNotExpression.builder()
.plusNot(notBuilder -> notBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd the value to the not using the builder functionbuild()
builds OrderSearchNotExpression with checking for non-null required valuesbuilds OrderSearchNotExpression without checking for non-null required valuesgetNot()
value of not}not
(OrderSearchQuery... not) set values to the notnot
(List<OrderSearchQuery> not) set value to the notof()
factory method for an instance of OrderSearchNotExpressionBuilderof
(OrderSearchNotExpression template) create builder for OrderSearchNotExpression instanceplusNot
(OrderSearchQuery... not) add values to the notadd the value to the not using the builder functionset the value to the not using the builder functionset the value to the not using the builder function
-
Constructor Details
-
OrderSearchNotExpressionBuilder
public OrderSearchNotExpressionBuilder()
-
-
Method Details
-
not
set values to the not- Parameters:
not
- value to be set- Returns:
- Builder
-
not
set value to the not- Parameters:
not
- value to be set- Returns:
- Builder
-
plusNot
add values to the not- Parameters:
not
- value to be set- Returns:
- Builder
-
plusNot
public OrderSearchNotExpressionBuilder plusNot(Function<OrderSearchQueryBuilder, OrderSearchQueryBuilder> builder) add the value to the not using the builder function- Parameters:
builder
- function to build the not value- Returns:
- Builder
-
withNot
public OrderSearchNotExpressionBuilder withNot(Function<OrderSearchQueryBuilder, OrderSearchQueryBuilder> builder) set the value to the not using the builder function- Parameters:
builder
- function to build the not value- Returns:
- Builder
-
addNot
public OrderSearchNotExpressionBuilder addNot(Function<OrderSearchQueryBuilder, OrderSearchQuery> builder) add the value to the not using the builder function- Parameters:
builder
- function to build the not value- Returns:
- Builder
-
setNot
public OrderSearchNotExpressionBuilder setNot(Function<OrderSearchQueryBuilder, OrderSearchQuery> builder) set the value to the not using the builder function- Parameters:
builder
- function to build the not value- Returns:
- Builder
-
getNot
value of not}- Returns:
- not
-
build
builds OrderSearchNotExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchNotExpression>
- Returns:
- OrderSearchNotExpression
-
buildUnchecked
builds OrderSearchNotExpression without checking for non-null required values- Returns:
- OrderSearchNotExpression
-
of
factory method for an instance of OrderSearchNotExpressionBuilder- Returns:
- builder
-
of
create builder for OrderSearchNotExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-