Interface CustomerChangeEmailAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
Changes the email
of the Customer and sets the isEmailVerified
property to false
. This update action generates a CustomerEmailChanged Message.
Example to create an instance using the builder pattern
CustomerChangeEmailAction customerChangeEmailAction = CustomerChangeEmailAction.builder()
.email("{email}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerChangeEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerChangeEmailActionbuilder
(CustomerChangeEmailAction template) create builder for CustomerChangeEmailAction instancestatic CustomerChangeEmailAction
deepCopy
(CustomerChangeEmailAction template) factory method to create a deep copy of CustomerChangeEmailAction@NotNull String
getEmail()
Value to set.static CustomerChangeEmailAction
of()
factory methodstatic CustomerChangeEmailAction
of
(CustomerChangeEmailAction template) factory method to create a shallow copy CustomerChangeEmailActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerChangeEmailAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_EMAIL
discriminator value for CustomerChangeEmailAction- See Also:
-
-
Method Details
-
getEmail
Value to set.
- Returns:
-
setEmail
Value to set.
- Parameters:
email
- value to be set
-
of
factory method- Returns:
- instance of CustomerChangeEmailAction
-
of
factory method to create a shallow copy CustomerChangeEmailAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomerChangeEmailAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerChangeEmailAction- Returns:
- builder
-
builder
create builder for CustomerChangeEmailAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerChangeEmailAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-