Interface InventoryEntrySetExpectedDeliveryAction
- All Superinterfaces:
InventoryEntryUpdateAction
,ResourceUpdateAction<InventoryEntryUpdateAction>
InventoryEntrySetExpectedDeliveryAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InventoryEntrySetExpectedDeliveryAction inventoryEntrySetExpectedDeliveryAction = InventoryEntrySetExpectedDeliveryAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for InventoryEntrySetExpectedDeliveryAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for InventoryEntrySetExpectedDeliveryActioncreate builder for InventoryEntrySetExpectedDeliveryAction instancefactory method to create a deep copy of InventoryEntrySetExpectedDeliveryActionValue to set.of()
factory methodof
(InventoryEntrySetExpectedDeliveryAction template) factory method to create a shallow copy InventoryEntrySetExpectedDeliveryActionvoid
setExpectedDelivery
(ZonedDateTime expectedDelivery) Value to set.static com.fasterxml.jackson.core.type.TypeReference<InventoryEntrySetExpectedDeliveryAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withInventoryEntrySetExpectedDeliveryAction
(Function<InventoryEntrySetExpectedDeliveryAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.inventory.InventoryEntryUpdateAction
getAction, withInventoryEntryUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_EXPECTED_DELIVERY
discriminator value for InventoryEntrySetExpectedDeliveryAction- See Also:
-
-
Method Details
-
getExpectedDelivery
ZonedDateTime getExpectedDelivery()Value to set. If empty, any existing value will be removed.
- Returns:
- expectedDelivery
-
setExpectedDelivery
Value to set. If empty, any existing value will be removed.
- Parameters:
expectedDelivery
- value to be set
-
of
factory method- Returns:
- instance of InventoryEntrySetExpectedDeliveryAction
-
of
factory method to create a shallow copy InventoryEntrySetExpectedDeliveryAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static InventoryEntrySetExpectedDeliveryAction deepCopy(@Nullable InventoryEntrySetExpectedDeliveryAction template) factory method to create a deep copy of InventoryEntrySetExpectedDeliveryAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InventoryEntrySetExpectedDeliveryAction- Returns:
- builder
-
builder
static InventoryEntrySetExpectedDeliveryActionBuilder builder(InventoryEntrySetExpectedDeliveryAction template) create builder for InventoryEntrySetExpectedDeliveryAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInventoryEntrySetExpectedDeliveryAction
default <T> T withInventoryEntrySetExpectedDeliveryAction(Function<InventoryEntrySetExpectedDeliveryAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<InventoryEntrySetExpectedDeliveryAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-