Class CustomerSetLocaleActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerSetLocaleActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetLocaleAction>
public class CustomerSetLocaleActionBuilder
extends Object
implements Builder<CustomerSetLocaleAction>
CustomerSetLocaleActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetLocaleAction customerSetLocaleAction = CustomerSetLocaleAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerSetLocaleAction with checking for non-null required valuesbuilds CustomerSetLocaleAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of CustomerSetLocaleActionBuilderof
(CustomerSetLocaleAction template) create builder for CustomerSetLocaleAction instance
-
Constructor Details
-
CustomerSetLocaleActionBuilder
public CustomerSetLocaleActionBuilder()
-
-
Method Details
-
locale
Value to set. Must be one of the languages supported by the Project.
- Parameters:
locale
- value to be set- Returns:
- Builder
-
getLocale
Value to set. Must be one of the languages supported by the Project.
- Returns:
- locale
-
build
builds CustomerSetLocaleAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetLocaleAction>
- Returns:
- CustomerSetLocaleAction
-
buildUnchecked
builds CustomerSetLocaleAction without checking for non-null required values- Returns:
- CustomerSetLocaleAction
-
of
factory method for an instance of CustomerSetLocaleActionBuilder- Returns:
- builder
-
of
create builder for CustomerSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-