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