Interface StoreRemoveSupplyChannelAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreUpdateAction
This update action produces the StoreSupplyChannelsChanged Message.
Example to create an instance using the builder pattern
StoreRemoveSupplyChannelAction storeRemoveSupplyChannelAction = StoreRemoveSupplyChannelAction.builder()
.supplyChannel(supplyChannelBuilder -> supplyChannelBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreRemoveSupplyChannelAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreRemoveSupplyChannelActionbuilder
(StoreRemoveSupplyChannelAction template) create builder for StoreRemoveSupplyChannelAction instancedeepCopy
(StoreRemoveSupplyChannelAction template) factory method to create a deep copy of StoreRemoveSupplyChannelAction@NotNull @Valid ChannelResourceIdentifier
Value to remove.of()
factory methodof
(StoreRemoveSupplyChannelAction template) factory method to create a shallow copy StoreRemoveSupplyChannelActionvoid
setSupplyChannel
(ChannelResourceIdentifier supplyChannel) Value to remove.static com.fasterxml.jackson.core.type.TypeReference<StoreRemoveSupplyChannelAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
getAction, withStoreUpdateAction
-
Field Details
-
REMOVE_SUPPLY_CHANNEL
discriminator value for StoreRemoveSupplyChannelAction- See Also:
-
-
Method Details
-
getSupplyChannel
Value to remove. ResourceIdentifier of a Channel with the
InventorySupply
ChannelRoleEnum.- Returns:
- supplyChannel
-
setSupplyChannel
Value to remove. ResourceIdentifier of a Channel with the
InventorySupply
ChannelRoleEnum.- Parameters:
supplyChannel
- value to be set
-
of
factory method- Returns:
- instance of StoreRemoveSupplyChannelAction
-
of
factory method to create a shallow copy StoreRemoveSupplyChannelAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StoreRemoveSupplyChannelAction deepCopy(@Nullable StoreRemoveSupplyChannelAction template) factory method to create a deep copy of StoreRemoveSupplyChannelAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreRemoveSupplyChannelAction- Returns:
- builder
-
builder
create builder for StoreRemoveSupplyChannelAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreRemoveSupplyChannelAction
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<StoreRemoveSupplyChannelAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-