Interface StoreUpdateAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>
- All Known Subinterfaces:
StoreAddCountryAction
,StoreAddDistributionChannelAction
,StoreAddProductSelectionAction
,StoreAddSupplyChannelAction
,StoreChangeProductSelectionAction
,StoreRemoveCountryAction
,StoreRemoveDistributionChannelAction
,StoreRemoveProductSelectionAction
,StoreRemoveSupplyChannelAction
,StoreSetCountriesAction
,StoreSetCustomFieldAction
,StoreSetCustomTypeAction
,StoreSetDistributionChannelsAction
,StoreSetLanguagesAction
,StoreSetNameAction
,StoreSetProductSelectionsAction
,StoreSetSupplyChannelsAction
StoreUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
StoreUpdateAction storeUpdateAction = StoreUpdateAction.addCountryBuilder()
country(countryBuilder -> countryBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic StoreAddCountryActionBuilder
builder for addCountry subtypebuilder for addDistributionChannel subtypebuilder for addProductSelection subtypebuilder for addSupplyChannel subtypebuilder for changeProductSelectionActive subtypestatic StoreUpdateAction
deepCopy
(StoreUpdateAction template) factory method to create a deep copy of StoreUpdateAction@NotNull String
builder for removeCountry subtypebuilder for removeDistributionChannel subtypebuilder for removeProductSelection subtypebuilder for removeSupplyChannel subtypebuilder for setCountries subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDistributionChannels subtypebuilder for setLanguages subtypestatic StoreSetNameActionBuilder
builder for setName subtypebuilder for setProductSelections subtypebuilder for setSupplyChannels subtypestatic com.fasterxml.jackson.core.type.TypeReference<StoreUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStoreUpdateAction
(Function<StoreUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of StoreUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addCountryBuilder
builder for addCountry subtype- Returns:
- builder
-
addDistributionChannelBuilder
builder for addDistributionChannel subtype- Returns:
- builder
-
addProductSelectionBuilder
builder for addProductSelection subtype- Returns:
- builder
-
addSupplyChannelBuilder
builder for addSupplyChannel subtype- Returns:
- builder
-
changeProductSelectionActiveBuilder
builder for changeProductSelectionActive subtype- Returns:
- builder
-
removeCountryBuilder
builder for removeCountry subtype- Returns:
- builder
-
removeDistributionChannelBuilder
builder for removeDistributionChannel subtype- Returns:
- builder
-
removeProductSelectionBuilder
builder for removeProductSelection subtype- Returns:
- builder
-
removeSupplyChannelBuilder
builder for removeSupplyChannel subtype- Returns:
- builder
-
setCountriesBuilder
builder for setCountries subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDistributionChannelsBuilder
builder for setDistributionChannels subtype- Returns:
- builder
-
setLanguagesBuilder
builder for setLanguages subtype- Returns:
- builder
-
setNameBuilder
builder for setName subtype- Returns:
- builder
-
setProductSelectionsBuilder
builder for setProductSelections subtype- Returns:
- builder
-
setSupplyChannelsBuilder
builder for setSupplyChannels subtype- Returns:
- builder
-
withStoreUpdateAction
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
-