Interface OrderSearchDateRangeValue
- All Superinterfaces:
OrderSearchQueryExpressionValue
OrderSearchDateRangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchDateRangeValue orderSearchDateRangeValue = OrderSearchDateRangeValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSearchDateRangeValuebuilder
(OrderSearchDateRangeValue template) create builder for OrderSearchDateRangeValue instancestatic OrderSearchDateRangeValue
deepCopy
(OrderSearchDateRangeValue template) factory method to create a deep copy of OrderSearchDateRangeValuegetGte()
getLte()
static OrderSearchDateRangeValue
of()
factory methodstatic OrderSearchDateRangeValue
of
(OrderSearchDateRangeValue template) factory method to create a shallow copy OrderSearchDateRangeValuevoid
setGte
(ZonedDateTime gte) set gtevoid
setLte
(ZonedDateTime lte) set ltestatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchDateRangeValue>
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
-
getGte
ZonedDateTime getGte()- Returns:
- gte
-
getLte
ZonedDateTime getLte()- Returns:
- lte
-
setGte
set gte- Parameters:
gte
- value to be set
-
setLte
set lte- Parameters:
lte
- value to be set
-
of
factory method- Returns:
- instance of OrderSearchDateRangeValue
-
of
factory method to create a shallow copy OrderSearchDateRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSearchDateRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchDateRangeValue- Returns:
- builder
-
builder
create builder for OrderSearchDateRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchDateRangeValue
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
-