Class InventoryEntrySetRestockableInDaysActionBuilder
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntrySetRestockableInDaysActionBuilder
- All Implemented Interfaces:
Builder<InventoryEntrySetRestockableInDaysAction>
public class InventoryEntrySetRestockableInDaysActionBuilder
extends Object
implements Builder<InventoryEntrySetRestockableInDaysAction>
InventoryEntrySetRestockableInDaysActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InventoryEntrySetRestockableInDaysAction inventoryEntrySetRestockableInDaysAction = InventoryEntrySetRestockableInDaysAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InventoryEntrySetRestockableInDaysAction with checking for non-null required valuesbuilds InventoryEntrySetRestockableInDaysAction without checking for non-null required valuesValue to set.of()
factory method for an instance of InventoryEntrySetRestockableInDaysActionBuilderof
(InventoryEntrySetRestockableInDaysAction template) create builder for InventoryEntrySetRestockableInDaysAction instancerestockableInDays
(Long restockableInDays) Value to set.
-
Constructor Details
-
InventoryEntrySetRestockableInDaysActionBuilder
public InventoryEntrySetRestockableInDaysActionBuilder()
-
-
Method Details
-
restockableInDays
public InventoryEntrySetRestockableInDaysActionBuilder restockableInDays(@Nullable Long restockableInDays) Value to set. If empty, any existing value will be removed.
- Parameters:
restockableInDays
- value to be set- Returns:
- Builder
-
getRestockableInDays
Value to set. If empty, any existing value will be removed.
- Returns:
- restockableInDays
-
build
builds InventoryEntrySetRestockableInDaysAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<InventoryEntrySetRestockableInDaysAction>
- Returns:
- InventoryEntrySetRestockableInDaysAction
-
buildUnchecked
builds InventoryEntrySetRestockableInDaysAction without checking for non-null required values- Returns:
- InventoryEntrySetRestockableInDaysAction
-
of
factory method for an instance of InventoryEntrySetRestockableInDaysActionBuilder- Returns:
- builder
-
of
public static InventoryEntrySetRestockableInDaysActionBuilder of(InventoryEntrySetRestockableInDaysAction template) create builder for InventoryEntrySetRestockableInDaysAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-