Interface StoreRemoveDistributionChannelAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreUpdateAction
This update action produces the StoreDistributionChannelsChanged Message.
Example to create an instance using the builder pattern
StoreRemoveDistributionChannelAction storeRemoveDistributionChannelAction = StoreRemoveDistributionChannelAction.builder()
.distributionChannel(distributionChannelBuilder -> distributionChannelBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreRemoveDistributionChannelAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreRemoveDistributionChannelActionbuilder
(StoreRemoveDistributionChannelAction template) create builder for StoreRemoveDistributionChannelAction instancedeepCopy
(StoreRemoveDistributionChannelAction template) factory method to create a deep copy of StoreRemoveDistributionChannelAction@NotNull @Valid ChannelResourceIdentifier
Value to remove.of()
factory methodof
(StoreRemoveDistributionChannelAction template) factory method to create a shallow copy StoreRemoveDistributionChannelActionvoid
setDistributionChannel
(ChannelResourceIdentifier distributionChannel) Value to remove.static com.fasterxml.jackson.core.type.TypeReference<StoreRemoveDistributionChannelAction>
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_DISTRIBUTION_CHANNEL
discriminator value for StoreRemoveDistributionChannelAction- See Also:
-
-
Method Details
-
getDistributionChannel
Value to remove. ResourceIdentifier of a Channel with the
ProductDistribution
ChannelRoleEnum.- Returns:
- distributionChannel
-
setDistributionChannel
Value to remove. ResourceIdentifier of a Channel with the
ProductDistribution
ChannelRoleEnum.- Parameters:
distributionChannel
- value to be set
-
of
factory method- Returns:
- instance of StoreRemoveDistributionChannelAction
-
of
factory method to create a shallow copy StoreRemoveDistributionChannelAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StoreRemoveDistributionChannelAction deepCopy(@Nullable StoreRemoveDistributionChannelAction template) factory method to create a deep copy of StoreRemoveDistributionChannelAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreRemoveDistributionChannelAction- Returns:
- builder
-
builder
static StoreRemoveDistributionChannelActionBuilder builder(StoreRemoveDistributionChannelAction template) create builder for StoreRemoveDistributionChannelAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreRemoveDistributionChannelAction
default <T> T withStoreRemoveDistributionChannelAction(Function<StoreRemoveDistributionChannelAction, 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<StoreRemoveDistributionChannelAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-