Interface CategoryChangeOrderHintAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategoryChangeOrderHintAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryChangeOrderHintAction categoryChangeOrderHintAction = CategoryChangeOrderHintAction.builder()
.orderHint("{orderHint}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategoryChangeOrderHintAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategoryChangeOrderHintActionbuilder
(CategoryChangeOrderHintAction template) create builder for CategoryChangeOrderHintAction instancedeepCopy
(CategoryChangeOrderHintAction template) factory method to create a deep copy of CategoryChangeOrderHintAction@NotNull String
New value to set.of()
factory methodof
(CategoryChangeOrderHintAction template) factory method to create a shallow copy CategoryChangeOrderHintActionvoid
setOrderHint
(String orderHint) New value to set.static com.fasterxml.jackson.core.type.TypeReference<CategoryChangeOrderHintAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_ORDER_HINT
discriminator value for CategoryChangeOrderHintAction- See Also:
-
-
Method Details
-
getOrderHint
New value to set. Must be a decimal value between 0 and 1.
- Returns:
- orderHint
-
setOrderHint
New value to set. Must be a decimal value between 0 and 1.
- Parameters:
orderHint
- value to be set
-
of
factory method- Returns:
- instance of CategoryChangeOrderHintAction
-
of
factory method to create a shallow copy CategoryChangeOrderHintAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CategoryChangeOrderHintAction deepCopy(@Nullable CategoryChangeOrderHintAction template) factory method to create a deep copy of CategoryChangeOrderHintAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategoryChangeOrderHintAction- Returns:
- builder
-
builder
create builder for CategoryChangeOrderHintAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategoryChangeOrderHintAction
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
-