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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerEmailChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerEmailChangedMessagePayloadbuilder
(CustomerEmailChangedMessagePayload template) create builder for CustomerEmailChangedMessagePayload instancedeepCopy
(CustomerEmailChangedMessagePayload template) factory method to create a deep copy of CustomerEmailChangedMessagePayload@NotNull String
getEmail()
Theemail
that was set during the Change Email update action.of()
factory methodof
(CustomerEmailChangedMessagePayload template) factory method to create a shallow copy CustomerEmailChangedMessagePayloadvoid
Theemail
that 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> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods 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
email
that was set during the Change Email update action.- Returns:
-
setEmail
The
email
that 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
-
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
-