Class OrderSearchNumberRangeValueBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchNumberRangeValueBuilder
- All Implemented Interfaces:
Builder<OrderSearchNumberRangeValue>
public class OrderSearchNumberRangeValueBuilder
extends Object
implements Builder<OrderSearchNumberRangeValue>
OrderSearchNumberRangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchNumberRangeValue orderSearchNumberRangeValue = OrderSearchNumberRangeValue.builder()
.field("{field}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()
builds OrderSearchNumberRangeValue with checking for non-null required valuesbuilds OrderSearchNumberRangeValue 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}set the value to the gteset the value to the lteof()
factory method for an instance of OrderSearchNumberRangeValueBuilderof
(OrderSearchNumberRangeValue template) create builder for OrderSearchNumberRangeValue instance
-
Constructor Details
-
OrderSearchNumberRangeValueBuilder
public OrderSearchNumberRangeValueBuilder()
-
-
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 OrderSearchNumberRangeValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchNumberRangeValue>
- Returns:
- OrderSearchNumberRangeValue
-
buildUnchecked
builds OrderSearchNumberRangeValue without checking for non-null required values- Returns:
- OrderSearchNumberRangeValue
-
of
factory method for an instance of OrderSearchNumberRangeValueBuilder- Returns:
- builder
-
of
create builder for OrderSearchNumberRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-