Class OrderSearchDateRangeValueBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchDateRangeValueBuilder
- All Implemented Interfaces:
Builder<OrderSearchDateRangeValue>
public class OrderSearchDateRangeValueBuilder
extends Object
implements Builder<OrderSearchDateRangeValue>
OrderSearchDateRangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchDateRangeValue orderSearchDateRangeValue = OrderSearchDateRangeValue.builder()
.field("{field}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()
builds OrderSearchDateRangeValue with checking for non-null required valuesbuilds OrderSearchDateRangeValue without checking for non-null required valuescustomType
(OrderSearchCustomType customType) Possible values for thecustomType
property on query expressions indicating the data type of thefield
.set the value to the fieldgetBoost()
value of boost}Possible values for thecustomType
property on query expressions indicating the data type of thefield
.getField()
value of field}getGte()
value of gte}getLte()
value of lte}gte
(ZonedDateTime gte) set the value to the gtelte
(ZonedDateTime lte) set the value to the lteof()
factory method for an instance of OrderSearchDateRangeValueBuilderof
(OrderSearchDateRangeValue template) create builder for OrderSearchDateRangeValue instance
-
Constructor Details
-
OrderSearchDateRangeValueBuilder
public OrderSearchDateRangeValueBuilder()
-
-
Method Details
-
field
set the value to the field- Parameters:
field
- value to be set- Returns:
- Builder
-
boost
set the value to the boost- Parameters:
boost
- value to be set- Returns:
- Builder
-
customType
Possible values for the
customType
property on query expressions indicating the data type of thefield
.- Parameters:
customType
- value to be set- Returns:
- Builder
-
gte
set the value to the gte- Parameters:
gte
- value to be set- Returns:
- Builder
-
lte
set the value to the lte- Parameters:
lte
- value to be set- Returns:
- Builder
-
getField
value of field}- Returns:
- field
-
getBoost
value of boost}- Returns:
- boost
-
getCustomType
Possible values for the
customType
property on query expressions indicating the data type of thefield
.- Returns:
- customType
-
getGte
value of gte}- Returns:
- gte
-
getLte
value of lte}- Returns:
- lte
-
build
builds OrderSearchDateRangeValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchDateRangeValue>
- Returns:
- OrderSearchDateRangeValue
-
buildUnchecked
builds OrderSearchDateRangeValue without checking for non-null required values- Returns:
- OrderSearchDateRangeValue
-
of
factory method for an instance of OrderSearchDateRangeValueBuilder- Returns:
- builder
-
of
create builder for OrderSearchDateRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-