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