Class ProjectChangeCurrenciesActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeCurrenciesActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeCurrenciesAction>
public class ProjectChangeCurrenciesActionBuilder
extends Object
implements Builder<ProjectChangeCurrenciesAction>
ProjectChangeCurrenciesActionBuilder
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()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeCurrenciesAction with checking for non-null required valuesbuilds ProjectChangeCurrenciesAction without checking for non-null required valuescurrencies
(String... currencies) New value to set.currencies
(List<String> currencies) New value to set.New value to set.of()
factory method for an instance of ProjectChangeCurrenciesActionBuilderof
(ProjectChangeCurrenciesAction template) create builder for ProjectChangeCurrenciesAction instanceplusCurrencies
(String... currencies) New value to set.
-
Constructor Details
-
ProjectChangeCurrenciesActionBuilder
public ProjectChangeCurrenciesActionBuilder()
-
-
Method Details
-
currencies
New value to set. Must not be empty.
- Parameters:
currencies
- value to be set- Returns:
- Builder
-
currencies
New value to set. Must not be empty.
- Parameters:
currencies
- value to be set- Returns:
- Builder
-
plusCurrencies
New value to set. Must not be empty.
- Parameters:
currencies
- value to be set- Returns:
- Builder
-
getCurrencies
New value to set. Must not be empty.
- Returns:
- currencies
-
build
builds ProjectChangeCurrenciesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeCurrenciesAction>
- Returns:
- ProjectChangeCurrenciesAction
-
buildUnchecked
builds ProjectChangeCurrenciesAction without checking for non-null required values- Returns:
- ProjectChangeCurrenciesAction
-
of
factory method for an instance of ProjectChangeCurrenciesActionBuilder- Returns:
- builder
-
of
create builder for ProjectChangeCurrenciesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-