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