Interface OrderSearchStringValue
- All Superinterfaces:
OrderSearchQueryExpressionValue
OrderSearchStringValue
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()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchStringValuebuilder
(OrderSearchStringValue template) create builder for OrderSearchStringValue instancestatic OrderSearchStringValue
deepCopy
(OrderSearchStringValue template) factory method to create a deep copy of OrderSearchStringValue@NotNull String
getValue()
static OrderSearchStringValue
of()
factory methodstatic OrderSearchStringValue
of
(OrderSearchStringValue template) factory method to create a shallow copy OrderSearchStringValuevoid
setCaseInsensitive
(Boolean caseInsensitive) set caseInsensitivevoid
setLanguage
(String language) set languagevoid
set valuestatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchStringValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderSearchQueryExpressionValue
getBoost, getCustomType, getField, setBoost, setCustomType, setField, withOrderSearchQueryExpressionValue
-
Method Details
-
getValue
- Returns:
- value
-
getLanguage
String getLanguage()- Returns:
- language
-
getCaseInsensitive
Boolean getCaseInsensitive()- Returns:
- caseInsensitive
-
setValue
set value- Parameters:
value
- value to be set
-
setLanguage
set language- Parameters:
language
- value to be set
-
setCaseInsensitive
set caseInsensitive- Parameters:
caseInsensitive
- value to be set
-
of
factory method- Returns:
- instance of OrderSearchStringValue
-
of
factory method to create a shallow copy OrderSearchStringValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSearchStringValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchStringValue- Returns:
- builder
-
builder
create builder for OrderSearchStringValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchStringValue
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-