Class CategoryChangeOrderHintActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategoryChangeOrderHintActionBuilder
- All Implemented Interfaces:
Builder<CategoryChangeOrderHintAction>
public class CategoryChangeOrderHintActionBuilder
extends Object
implements Builder<CategoryChangeOrderHintAction>
CategoryChangeOrderHintActionBuilder
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()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CategoryChangeOrderHintAction with checking for non-null required valuesbuilds CategoryChangeOrderHintAction without checking for non-null required valuesNew value to set.of()
factory method for an instance of CategoryChangeOrderHintActionBuilderof
(CategoryChangeOrderHintAction template) create builder for CategoryChangeOrderHintAction instanceNew value to set.
-
Constructor Details
-
CategoryChangeOrderHintActionBuilder
public CategoryChangeOrderHintActionBuilder()
-
-
Method Details
-
orderHint
New value to set. Must be a decimal value between 0 and 1.
- Parameters:
orderHint
- value to be set- Returns:
- Builder
-
getOrderHint
New value to set. Must be a decimal value between 0 and 1.
- Returns:
- orderHint
-
build
builds CategoryChangeOrderHintAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategoryChangeOrderHintAction>
- Returns:
- CategoryChangeOrderHintAction
-
buildUnchecked
builds CategoryChangeOrderHintAction without checking for non-null required values- Returns:
- CategoryChangeOrderHintAction
-
of
factory method for an instance of CategoryChangeOrderHintActionBuilder- Returns:
- builder
-
of
create builder for CategoryChangeOrderHintAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-