Class CustomerChangeEmailActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerChangeEmailActionBuilder
- All Implemented Interfaces:
Builder<CustomerChangeEmailAction>
public class CustomerChangeEmailActionBuilder
extends Object
implements Builder<CustomerChangeEmailAction>
CustomerChangeEmailActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerChangeEmailAction customerChangeEmailAction = CustomerChangeEmailAction.builder()
.email("{email}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerChangeEmailAction with checking for non-null required valuesbuilds CustomerChangeEmailAction without checking for non-null required valuesValue to set.getEmail()
Value to set.of()
factory method for an instance of CustomerChangeEmailActionBuilderof
(CustomerChangeEmailAction template) create builder for CustomerChangeEmailAction instance
-
Constructor Details
-
CustomerChangeEmailActionBuilder
public CustomerChangeEmailActionBuilder()
-
-
Method Details
-
email
Value to set.
- Parameters:
email
- value to be set- Returns:
- Builder
-
getEmail
Value to set.
- Returns:
-
build
builds CustomerChangeEmailAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerChangeEmailAction>
- Returns:
- CustomerChangeEmailAction
-
buildUnchecked
builds CustomerChangeEmailAction without checking for non-null required values- Returns:
- CustomerChangeEmailAction
-
of
factory method for an instance of CustomerChangeEmailActionBuilder- Returns:
- builder
-
of
create builder for CustomerChangeEmailAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-