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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreRemoveSupplyChannelAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreRemoveSupplyChannelActionbuilder(StoreRemoveSupplyChannelAction template) create builder for StoreRemoveSupplyChannelAction instancecopyDeep()deepCopy(StoreRemoveSupplyChannelAction template) factory method to create a deep copy of StoreRemoveSupplyChannelAction@NotNull @Valid ChannelResourceIdentifierValue to remove.of()factory methodof(StoreRemoveSupplyChannelAction template) factory method to create a shallow copy StoreRemoveSupplyChannelActionvoidsetSupplyChannel(ChannelResourceIdentifier supplyChannel) Value to remove.static com.fasterxml.jackson.core.type.TypeReference<StoreRemoveSupplyChannelAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods 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
InventorySupplyChannelRoleEnum.- Returns:
- supplyChannel
-
setSupplyChannel
Value to remove. ResourceIdentifier of a Channel with the
InventorySupplyChannelRoleEnum.- 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
-
copyDeep
StoreRemoveSupplyChannelAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
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
-