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