Package com.commercetools.api.models.me
Class MyCustomerSetLocaleActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetLocaleActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerSetLocaleAction>
public class MyCustomerSetLocaleActionBuilder
extends Object
implements Builder<MyCustomerSetLocaleAction>
MyCustomerSetLocaleActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetLocaleAction myCustomerSetLocaleAction = MyCustomerSetLocaleAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCustomerSetLocaleAction with checking for non-null required valuesbuilds MyCustomerSetLocaleAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of MyCustomerSetLocaleActionBuilderof
(MyCustomerSetLocaleAction template) create builder for MyCustomerSetLocaleAction instance
-
Constructor Details
-
MyCustomerSetLocaleActionBuilder
public MyCustomerSetLocaleActionBuilder()
-
-
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 MyCustomerSetLocaleAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerSetLocaleAction>
- Returns:
- MyCustomerSetLocaleAction
-
buildUnchecked
builds MyCustomerSetLocaleAction without checking for non-null required values- Returns:
- MyCustomerSetLocaleAction
-
of
factory method for an instance of MyCustomerSetLocaleActionBuilder- Returns:
- builder
-
of
create builder for MyCustomerSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-