Package com.commercetools.api.models.me
Interface MyCustomerChangeEmailAction
- All Superinterfaces:
MyCustomerUpdateAction,ResourceUpdateAction<MyCustomerUpdateAction>
Changing the email of the Customer produces the CustomerEmailChanged Message.
Example to create an instance using the builder pattern
MyCustomerChangeEmailAction myCustomerChangeEmailAction = MyCustomerChangeEmailAction.builder()
.email("{email}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyCustomerChangeEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyCustomerChangeEmailActionbuilder(MyCustomerChangeEmailAction template) create builder for MyCustomerChangeEmailAction instancecopyDeep()static MyCustomerChangeEmailActiondeepCopy(MyCustomerChangeEmailAction template) factory method to create a deep copy of MyCustomerChangeEmailAction@NotNull StringgetEmail()New value to set.static MyCustomerChangeEmailActionof()factory methodstatic MyCustomerChangeEmailActionof(MyCustomerChangeEmailAction template) factory method to create a shallow copy MyCustomerChangeEmailActionvoidNew value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerChangeEmailAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
getAction, withMyCustomerUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_EMAIL
discriminator value for MyCustomerChangeEmailAction- See Also:
-
-
Method Details
-
getEmail
New value to set.
- Returns:
-
setEmail
New value to set.
- Parameters:
email- value to be set
-
of
factory method- Returns:
- instance of MyCustomerChangeEmailAction
-
of
factory method to create a shallow copy MyCustomerChangeEmailAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
MyCustomerChangeEmailAction copyDeep()- Specified by:
copyDeepin interfaceMyCustomerUpdateAction
-
deepCopy
@Nullable static MyCustomerChangeEmailAction deepCopy(@Nullable MyCustomerChangeEmailAction template) factory method to create a deep copy of MyCustomerChangeEmailAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerChangeEmailAction- Returns:
- builder
-
builder
create builder for MyCustomerChangeEmailAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerChangeEmailAction
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
-