Interface OrderSearchPrefixExpression
- All Superinterfaces:
OrderSearchQuery
,OrderSearchQueryExpression
OrderSearchPrefixExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchPrefixExpression orderSearchPrefixExpression = OrderSearchPrefixExpression.builder()
.prefix(prefixBuilder -> prefixBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchPrefixExpressionbuilder
(OrderSearchPrefixExpression template) create builder for OrderSearchPrefixExpression instancestatic OrderSearchPrefixExpression
deepCopy
(OrderSearchPrefixExpression template) factory method to create a deep copy of OrderSearchPrefixExpression@NotNull @Valid OrderSearchStringValue
static OrderSearchPrefixExpression
of()
factory methodstatic OrderSearchPrefixExpression
of
(OrderSearchPrefixExpression template) factory method to create a shallow copy OrderSearchPrefixExpressionvoid
setPrefix
(OrderSearchStringValue prefix) set prefixstatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchPrefixExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderSearchQuery
withOrderSearchQuery
Methods inherited from interface com.commercetools.api.models.order.OrderSearchQueryExpression
withOrderSearchQueryExpression
-
Method Details
-
getPrefix
- Returns:
- prefix
-
setPrefix
set prefix- Parameters:
prefix
- value to be set
-
of
factory method- Returns:
- instance of OrderSearchPrefixExpression
-
of
factory method to create a shallow copy OrderSearchPrefixExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderSearchPrefixExpression deepCopy(@Nullable OrderSearchPrefixExpression template) factory method to create a deep copy of OrderSearchPrefixExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchPrefixExpression- Returns:
- builder
-
builder
create builder for OrderSearchPrefixExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchPrefixExpression
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
-