Package com.commercetools.api.models.me
Class MyCustomerSetMiddleNameActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetMiddleNameActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerSetMiddleNameAction>
public class MyCustomerSetMiddleNameActionBuilder
extends Object
implements Builder<MyCustomerSetMiddleNameAction>
MyCustomerSetMiddleNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetMiddleNameAction myCustomerSetMiddleNameAction = MyCustomerSetMiddleNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCustomerSetMiddleNameAction with checking for non-null required valuesbuilds MyCustomerSetMiddleNameAction without checking for non-null required valuesValue to set.middleName
(String middleName) Value to set.of()
factory method for an instance of MyCustomerSetMiddleNameActionBuilderof
(MyCustomerSetMiddleNameAction template) create builder for MyCustomerSetMiddleNameAction instance
-
Constructor Details
-
MyCustomerSetMiddleNameActionBuilder
public MyCustomerSetMiddleNameActionBuilder()
-
-
Method Details
-
middleName
Value to set. If empty, any existing value is removed.
- Parameters:
middleName
- value to be set- Returns:
- Builder
-
getMiddleName
Value to set. If empty, any existing value is removed.
- Returns:
- middleName
-
build
builds MyCustomerSetMiddleNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerSetMiddleNameAction>
- Returns:
- MyCustomerSetMiddleNameAction
-
buildUnchecked
builds MyCustomerSetMiddleNameAction without checking for non-null required values- Returns:
- MyCustomerSetMiddleNameAction
-
of
factory method for an instance of MyCustomerSetMiddleNameActionBuilder- Returns:
- builder
-
of
create builder for MyCustomerSetMiddleNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-