Interface InventoryEntryUpdateAction
- All Superinterfaces:
ResourceUpdateAction<InventoryEntryUpdateAction>
- All Known Subinterfaces:
InventoryEntryAddQuantityAction
,InventoryEntryChangeQuantityAction
,InventoryEntryRemoveQuantityAction
,InventoryEntrySetCustomFieldAction
,InventoryEntrySetCustomTypeAction
,InventoryEntrySetExpectedDeliveryAction
,InventoryEntrySetKeyAction
,InventoryEntrySetRestockableInDaysAction
,InventoryEntrySetSupplyChannelAction
public interface InventoryEntryUpdateAction
extends ResourceUpdateAction<InventoryEntryUpdateAction>
InventoryEntryUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
InventoryEntryUpdateAction inventoryEntryUpdateAction = InventoryEntryUpdateAction.addQuantityBuilder()
quantity(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addQuantity subtypebuilder for changeQuantity subtypestatic InventoryEntryUpdateAction
deepCopy
(InventoryEntryUpdateAction template) factory method to create a deep copy of InventoryEntryUpdateAction@NotNull String
builder for removeQuantity subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setExpectedDelivery subtypebuilder for setKey subtypebuilder for setRestockableInDays subtypebuilder for setSupplyChannel subtypestatic com.fasterxml.jackson.core.type.TypeReference<InventoryEntryUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<InventoryEntryUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of InventoryEntryUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addQuantityBuilder
builder for addQuantity subtype- Returns:
- builder
-
changeQuantityBuilder
builder for changeQuantity subtype- Returns:
- builder
-
removeQuantityBuilder
builder for removeQuantity subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setExpectedDeliveryBuilder
builder for setExpectedDelivery subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setRestockableInDaysBuilder
builder for setRestockableInDays subtype- Returns:
- builder
-
setSupplyChannelBuilder
builder for setSupplyChannel subtype- Returns:
- builder
-
withInventoryEntryUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-