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