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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerChangeEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerChangeEmailActionbuilder(CustomerChangeEmailAction template) create builder for CustomerChangeEmailAction instancecopyDeep()static CustomerChangeEmailActiondeepCopy(CustomerChangeEmailAction template) factory method to create a deep copy of CustomerChangeEmailAction@NotNull StringgetEmail()Value to set.static CustomerChangeEmailActionof()factory methodstatic CustomerChangeEmailActionof(CustomerChangeEmailAction template) factory method to create a shallow copy CustomerChangeEmailActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerChangeEmailAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateActionMethods 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
-
copyDeep
CustomerChangeEmailAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
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
-