Class OrderSearchAnyValueBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchAnyValueBuilder
- All Implemented Interfaces:
Builder<OrderSearchAnyValue>
OrderSearchAnyValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchAnyValue orderSearchAnyValue = OrderSearchAnyValue.builder()
.field("{field}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()
builds OrderSearchAnyValue with checking for non-null required valuesbuilds OrderSearchAnyValue without checking for non-null required valuescaseInsensitive
(Boolean caseInsensitive) set the value to the caseInsensitivecustomType
(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}value of caseInsensitive}Possible values for thecustomType
property on query expressions indicating the data type of thefield
.getField()
value of field}value of language}getValue()
value of value}set the value to the languagestatic OrderSearchAnyValueBuilder
of()
factory method for an instance of OrderSearchAnyValueBuilderstatic OrderSearchAnyValueBuilder
of
(OrderSearchAnyValue template) create builder for OrderSearchAnyValue instanceset the value to the value
-
Constructor Details
-
OrderSearchAnyValueBuilder
public OrderSearchAnyValueBuilder()
-
-
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
-
value
set the value to the value- Parameters:
value
- value to be set- Returns:
- Builder
-
language
set the value to the language- Parameters:
language
- value to be set- Returns:
- Builder
-
caseInsensitive
set the value to the caseInsensitive- Parameters:
caseInsensitive
- 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
-
getValue
value of value}- Returns:
- value
-
getLanguage
value of language}- Returns:
- language
-
getCaseInsensitive
value of caseInsensitive}- Returns:
- caseInsensitive
-
build
builds OrderSearchAnyValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchAnyValue>
- Returns:
- OrderSearchAnyValue
-
buildUnchecked
builds OrderSearchAnyValue without checking for non-null required values- Returns:
- OrderSearchAnyValue
-
of
factory method for an instance of OrderSearchAnyValueBuilder- Returns:
- builder
-
of
create builder for OrderSearchAnyValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-