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

     OrderSearchQuery orderSearchQuery = OrderSearchQuery.builder()
             .build()
 
  • Constructor Details

    • OrderSearchQueryBuilder

      public OrderSearchQueryBuilder()
  • Method Details

    • build

      public OrderSearchQuery build()
      builds OrderSearchQuery with checking for non-null required values
      Specified by:
      build in interface Builder<OrderSearchQuery>
      Returns:
      OrderSearchQuery
    • buildUnchecked

      public OrderSearchQuery buildUnchecked()
      builds OrderSearchQuery without checking for non-null required values
      Returns:
      OrderSearchQuery
    • of

      public static OrderSearchQueryBuilder of()
      factory method for an instance of OrderSearchQueryBuilder
      Returns:
      builder
    • of

      public static OrderSearchQueryBuilder of(OrderSearchQuery template)
      create builder for OrderSearchQuery instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder