Interface InventoryEntrySetRestockableInDaysAction
- All Superinterfaces:
InventoryEntryUpdateAction
,ResourceUpdateAction<InventoryEntryUpdateAction>
InventoryEntrySetRestockableInDaysAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InventoryEntrySetRestockableInDaysAction inventoryEntrySetRestockableInDaysAction = InventoryEntrySetRestockableInDaysAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for InventoryEntrySetRestockableInDaysAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for InventoryEntrySetRestockableInDaysActioncreate builder for InventoryEntrySetRestockableInDaysAction instancefactory method to create a deep copy of InventoryEntrySetRestockableInDaysActionValue to set.of()
factory methodof
(InventoryEntrySetRestockableInDaysAction template) factory method to create a shallow copy InventoryEntrySetRestockableInDaysActionvoid
setRestockableInDays
(Long restockableInDays) Value to set.static com.fasterxml.jackson.core.type.TypeReference<InventoryEntrySetRestockableInDaysAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withInventoryEntrySetRestockableInDaysAction
(Function<InventoryEntrySetRestockableInDaysAction, 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_RESTOCKABLE_IN_DAYS
discriminator value for InventoryEntrySetRestockableInDaysAction- See Also:
-
-
Method Details
-
getRestockableInDays
Long getRestockableInDays()Value to set. If empty, any existing value will be removed.
- Returns:
- restockableInDays
-
setRestockableInDays
Value to set. If empty, any existing value will be removed.
- Parameters:
restockableInDays
- value to be set
-
of
factory method- Returns:
- instance of InventoryEntrySetRestockableInDaysAction
-
of
static InventoryEntrySetRestockableInDaysAction of(InventoryEntrySetRestockableInDaysAction template) factory method to create a shallow copy InventoryEntrySetRestockableInDaysAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static InventoryEntrySetRestockableInDaysAction deepCopy(@Nullable InventoryEntrySetRestockableInDaysAction template) factory method to create a deep copy of InventoryEntrySetRestockableInDaysAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InventoryEntrySetRestockableInDaysAction- Returns:
- builder
-
builder
static InventoryEntrySetRestockableInDaysActionBuilder builder(InventoryEntrySetRestockableInDaysAction template) create builder for InventoryEntrySetRestockableInDaysAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInventoryEntrySetRestockableInDaysAction
default <T> T withInventoryEntrySetRestockableInDaysAction(Function<InventoryEntrySetRestockableInDaysAction, 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<InventoryEntrySetRestockableInDaysAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-