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