Class InventoryEntrySetReorderPointActionBuilder
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntrySetReorderPointActionBuilder
- All Implemented Interfaces:
Builder<InventoryEntrySetReorderPointAction>
public class InventoryEntrySetReorderPointActionBuilder
extends Object
implements Builder<InventoryEntrySetReorderPointAction>
InventoryEntrySetReorderPointActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InventoryEntrySetReorderPointAction inventoryEntrySetReorderPointAction = InventoryEntrySetReorderPointAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds InventoryEntrySetReorderPointAction with checking for non-null required valuesbuilds InventoryEntrySetReorderPointAction without checking for non-null required valuesSets the configured inventory stock level for reorder point.of()factory method for an instance of InventoryEntrySetReorderPointActionBuilderof(InventoryEntrySetReorderPointAction template) create builder for InventoryEntrySetReorderPointAction instanceSets the configured inventory stock level for reorder point.
-
Constructor Details
-
InventoryEntrySetReorderPointActionBuilder
public InventoryEntrySetReorderPointActionBuilder()
-
-
Method Details
-
quantity
Sets the configured inventory stock level for reorder point. If the value is absent or
nullthe configured inventory stock level is removed.- Parameters:
quantity- value to be set- Returns:
- Builder
-
getQuantity
Sets the configured inventory stock level for reorder point. If the value is absent or
nullthe configured inventory stock level is removed.- Returns:
- quantity
-
build
builds InventoryEntrySetReorderPointAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<InventoryEntrySetReorderPointAction>- Returns:
- InventoryEntrySetReorderPointAction
-
buildUnchecked
builds InventoryEntrySetReorderPointAction without checking for non-null required values- Returns:
- InventoryEntrySetReorderPointAction
-
of
factory method for an instance of InventoryEntrySetReorderPointActionBuilder- Returns:
- builder
-
of
public static InventoryEntrySetReorderPointActionBuilder of(InventoryEntrySetReorderPointAction template) create builder for InventoryEntrySetReorderPointAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-