Class OrderSearchExactExpressionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchExactExpressionBuilder
- All Implemented Interfaces:
Builder<OrderSearchExactExpression>
public class OrderSearchExactExpressionBuilder
extends Object
implements Builder<OrderSearchExactExpression>
OrderSearchExactExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchExactExpression orderSearchExactExpression = OrderSearchExactExpression.builder()
.exact(exactBuilder -> exactBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSearchExactExpression with checking for non-null required valuesbuilds OrderSearchExactExpression without checking for non-null required valuesexact
(OrderSearchAnyValue exact) set the value to the exactset the value to the exact using the builder functiongetExact()
value of exact}of()
factory method for an instance of OrderSearchExactExpressionBuilderof
(OrderSearchExactExpression template) create builder for OrderSearchExactExpression instanceset the value to the exact using the builder function
-
Constructor Details
-
OrderSearchExactExpressionBuilder
public OrderSearchExactExpressionBuilder()
-
-
Method Details
-
exact
public OrderSearchExactExpressionBuilder exact(Function<OrderSearchAnyValueBuilder, OrderSearchAnyValueBuilder> builder) set the value to the exact using the builder function- Parameters:
builder
- function to build the exact value- Returns:
- Builder
-
withExact
public OrderSearchExactExpressionBuilder withExact(Function<OrderSearchAnyValueBuilder, OrderSearchAnyValue> builder) set the value to the exact using the builder function- Parameters:
builder
- function to build the exact value- Returns:
- Builder
-
exact
set the value to the exact- Parameters:
exact
- value to be set- Returns:
- Builder
-
getExact
value of exact}- Returns:
- exact
-
build
builds OrderSearchExactExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchExactExpression>
- Returns:
- OrderSearchExactExpression
-
buildUnchecked
builds OrderSearchExactExpression without checking for non-null required values- Returns:
- OrderSearchExactExpression
-
of
factory method for an instance of OrderSearchExactExpressionBuilder- Returns:
- builder
-
of
create builder for OrderSearchExactExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-