Interface ProjectChangeCurrenciesAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeCurrenciesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeCurrenciesAction projectChangeCurrenciesAction = ProjectChangeCurrenciesAction.builder()
.plusCurrencies(currenciesBuilder -> currenciesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeCurrenciesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeCurrenciesActionbuilder
(ProjectChangeCurrenciesAction template) create builder for ProjectChangeCurrenciesAction instancedeepCopy
(ProjectChangeCurrenciesAction template) factory method to create a deep copy of ProjectChangeCurrenciesActionNew value to set.of()
factory methodof
(ProjectChangeCurrenciesAction template) factory method to create a shallow copy ProjectChangeCurrenciesActionvoid
setCurrencies
(String... currencies) New value to set.void
setCurrencies
(List<String> currencies) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeCurrenciesAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_CURRENCIES
discriminator value for ProjectChangeCurrenciesAction- See Also:
-
-
Method Details
-
getCurrencies
New value to set. Must not be empty.
- Returns:
- currencies
-
setCurrencies
New value to set. Must not be empty.
- Parameters:
currencies
- values to be set
-
setCurrencies
New value to set. Must not be empty.
- Parameters:
currencies
- values to be set
-
of
factory method- Returns:
- instance of ProjectChangeCurrenciesAction
-
of
factory method to create a shallow copy ProjectChangeCurrenciesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeCurrenciesAction deepCopy(@Nullable ProjectChangeCurrenciesAction template) factory method to create a deep copy of ProjectChangeCurrenciesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeCurrenciesAction- Returns:
- builder
-
builder
create builder for ProjectChangeCurrenciesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeCurrenciesAction
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
-