Class OrderCustomerEmailSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.OrderCustomerEmailSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<OrderCustomerEmailSetMessagePayload>
public class OrderCustomerEmailSetMessagePayloadBuilder
extends Object
implements Builder<OrderCustomerEmailSetMessagePayload>
OrderCustomerEmailSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderCustomerEmailSetMessagePayload orderCustomerEmailSetMessagePayload = OrderCustomerEmailSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderCustomerEmailSetMessagePayload with checking for non-null required valuesbuilds OrderCustomerEmailSetMessagePayload without checking for non-null required valuesEmail address on the Order after the Set Customer Email update action.getEmail()
Email address on the Order after the Set Customer Email update action.Email address on the Order before the Set Customer Email update action.of()
factory method for an instance of OrderCustomerEmailSetMessagePayloadBuilderof
(OrderCustomerEmailSetMessagePayload template) create builder for OrderCustomerEmailSetMessagePayload instanceEmail address on the Order before the Set Customer Email update action.
-
Constructor Details
-
OrderCustomerEmailSetMessagePayloadBuilder
public OrderCustomerEmailSetMessagePayloadBuilder()
-
-
Method Details
-
email
Email address on the Order after the Set Customer Email update action.
- Parameters:
email
- value to be set- Returns:
- Builder
-
oldEmail
Email address on the Order before the Set Customer Email update action.
- Parameters:
oldEmail
- value to be set- Returns:
- Builder
-
getEmail
Email address on the Order after the Set Customer Email update action.
- Returns:
-
getOldEmail
Email address on the Order before the Set Customer Email update action.
- Returns:
- oldEmail
-
build
builds OrderCustomerEmailSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderCustomerEmailSetMessagePayload>
- Returns:
- OrderCustomerEmailSetMessagePayload
-
buildUnchecked
builds OrderCustomerEmailSetMessagePayload without checking for non-null required values- Returns:
- OrderCustomerEmailSetMessagePayload
-
of
factory method for an instance of OrderCustomerEmailSetMessagePayloadBuilder- Returns:
- builder
-
of
public static OrderCustomerEmailSetMessagePayloadBuilder of(OrderCustomerEmailSetMessagePayload template) create builder for OrderCustomerEmailSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-