Class OrderSearchQueryBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchQueryBuilder
- All Implemented Interfaces:
OrderSearchQueryBuilderMixin
,Builder<OrderSearchQuery>
public class OrderSearchQueryBuilder
extends Object
implements Builder<OrderSearchQuery>, OrderSearchQueryBuilderMixin
OrderSearchQueryBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchQuery orderSearchQuery = OrderSearchQuery.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSearchQuery with checking for non-null required valuesbuilds OrderSearchQuery without checking for non-null required valuesstatic OrderSearchQueryBuilder
of()
factory method for an instance of OrderSearchQueryBuilderstatic OrderSearchQueryBuilder
of
(OrderSearchQuery template) create builder for OrderSearchQuery instance
-
Constructor Details
-
OrderSearchQueryBuilder
public OrderSearchQueryBuilder()
-
-
Method Details
-
build
builds OrderSearchQuery with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchQuery>
- Returns:
- OrderSearchQuery
-
buildUnchecked
builds OrderSearchQuery without checking for non-null required values- Returns:
- OrderSearchQuery
-
of
factory method for an instance of OrderSearchQueryBuilder- Returns:
- builder
-
of
create builder for OrderSearchQuery instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-