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