Class OrderSearchLongRangeValueBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchLongRangeValueBuilder
- All Implemented Interfaces:
Builder<OrderSearchLongRangeValue>
public class OrderSearchLongRangeValueBuilder
extends Object
implements Builder<OrderSearchLongRangeValue>
OrderSearchLongRangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchLongRangeValue orderSearchLongRangeValue = OrderSearchLongRangeValue.builder()
.field("{field}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()builds OrderSearchLongRangeValue with checking for non-null required valuesbuilds OrderSearchLongRangeValue without checking for non-null required valuescustomType(OrderSearchCustomType customType) Possible values for thecustomTypeproperty on simple expressions indicating the data type of thefield.set the value to the fieldgetBoost()value of boost}Possible values for thecustomTypeproperty on simple 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 OrderSearchLongRangeValueBuilderof(OrderSearchLongRangeValue template) create builder for OrderSearchLongRangeValue instance
-
Constructor Details
-
OrderSearchLongRangeValueBuilder
public OrderSearchLongRangeValueBuilder()
-
-
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
customTypeproperty on simple 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
customTypeproperty on simple expressions indicating the data type of thefield.- Returns:
- customType
-
getGte
value of gte}- Returns:
- gte
-
getLte
value of lte}- Returns:
- lte
-
build
builds OrderSearchLongRangeValue with checking for non-null required values- Specified by:
buildin interfaceBuilder<OrderSearchLongRangeValue>- Returns:
- OrderSearchLongRangeValue
-
buildUnchecked
builds OrderSearchLongRangeValue without checking for non-null required values- Returns:
- OrderSearchLongRangeValue
-
of
factory method for an instance of OrderSearchLongRangeValueBuilder- Returns:
- builder
-
of
create builder for OrderSearchLongRangeValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-