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