Class CustomerEmailChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerEmailChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerEmailChangedMessagePayload>
public class CustomerEmailChangedMessagePayloadBuilder
extends Object
implements Builder<CustomerEmailChangedMessagePayload>
CustomerEmailChangedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerEmailChangedMessagePayload customerEmailChangedMessagePayload = CustomerEmailChangedMessagePayload.builder()
.email("{email}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerEmailChangedMessagePayload with checking for non-null required valuesbuilds CustomerEmailChangedMessagePayload without checking for non-null required valuesTheemail
that was set during the Change Email update action.getEmail()
Theemail
that was set during the Change Email update action.of()
factory method for an instance of CustomerEmailChangedMessagePayloadBuilderof
(CustomerEmailChangedMessagePayload template) create builder for CustomerEmailChangedMessagePayload instance
-
Constructor Details
-
CustomerEmailChangedMessagePayloadBuilder
public CustomerEmailChangedMessagePayloadBuilder()
-
-
Method Details
-
email
The
email
that was set during the Change Email update action.- Parameters:
email
- value to be set- Returns:
- Builder
-
getEmail
The
email
that was set during the Change Email update action.- Returns:
-
build
builds CustomerEmailChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerEmailChangedMessagePayload>
- Returns:
- CustomerEmailChangedMessagePayload
-
buildUnchecked
builds CustomerEmailChangedMessagePayload without checking for non-null required values- Returns:
- CustomerEmailChangedMessagePayload
-
of
factory method for an instance of CustomerEmailChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerEmailChangedMessagePayloadBuilder of(CustomerEmailChangedMessagePayload template) create builder for CustomerEmailChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-