Interface StoreSetCountriesAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreUpdateAction
This update action produces the StoreCountriesChanged Message.
Example to create an instance using the builder pattern
StoreSetCountriesAction storeSetCountriesAction = StoreSetCountriesAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreSetCountriesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreSetCountriesActionbuilder
(StoreSetCountriesAction template) create builder for StoreSetCountriesAction instancestatic StoreSetCountriesAction
deepCopy
(StoreSetCountriesAction template) factory method to create a deep copy of StoreSetCountriesAction@Valid List<StoreCountry>
New value to set.static StoreSetCountriesAction
of()
factory methodstatic StoreSetCountriesAction
of
(StoreSetCountriesAction template) factory method to create a shallow copy StoreSetCountriesActionvoid
setCountries
(StoreCountry... countries) New value to set.void
setCountries
(List<StoreCountry> countries) New value to set.static com.fasterxml.jackson.core.type.TypeReference<StoreSetCountriesAction>
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
-
SET_COUNTRIES
discriminator value for StoreSetCountriesAction- See Also:
-
-
Method Details
-
getCountries
New value to set.
- Returns:
- countries
-
setCountries
New value to set.
- Parameters:
countries
- values to be set
-
setCountries
New value to set.
- Parameters:
countries
- values to be set
-
of
factory method- Returns:
- instance of StoreSetCountriesAction
-
of
factory method to create a shallow copy StoreSetCountriesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StoreSetCountriesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetCountriesAction- Returns:
- builder
-
builder
create builder for StoreSetCountriesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetCountriesAction
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
-