Interface CustomerEmailChangedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Change Email update action.
Example to create an instance using the builder pattern
CustomerEmailChangedMessagePayload customerEmailChangedMessagePayload = CustomerEmailChangedMessagePayload.builder()
.email("{email}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerEmailChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerEmailChangedMessagePayloadbuilder(CustomerEmailChangedMessagePayload template) create builder for CustomerEmailChangedMessagePayload instancecopyDeep()deepCopy(CustomerEmailChangedMessagePayload template) factory method to create a deep copy of CustomerEmailChangedMessagePayload@NotNull StringgetEmail()Theemailthat was set during the Change Email update action.of()factory methodof(CustomerEmailChangedMessagePayload template) factory method to create a shallow copy CustomerEmailChangedMessagePayloadvoidTheemailthat was set during the Change Email update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerEmailChangedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
CUSTOMER_EMAIL_CHANGED
discriminator value for CustomerEmailChangedMessagePayload- See Also:
-
-
Method Details
-
getEmail
The
emailthat was set during the Change Email update action.- Returns:
-
setEmail
The
emailthat was set during the Change Email update action.- Parameters:
email- value to be set
-
of
factory method- Returns:
- instance of CustomerEmailChangedMessagePayload
-
of
factory method to create a shallow copy CustomerEmailChangedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerEmailChangedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerEmailChangedMessagePayload deepCopy(@Nullable CustomerEmailChangedMessagePayload template) factory method to create a deep copy of CustomerEmailChangedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerEmailChangedMessagePayload- Returns:
- builder
-
builder
static CustomerEmailChangedMessagePayloadBuilder builder(CustomerEmailChangedMessagePayload template) create builder for CustomerEmailChangedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerEmailChangedMessagePayload
default <T> T withCustomerEmailChangedMessagePayload(Function<CustomerEmailChangedMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerEmailChangedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-