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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyCustomerChangeEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyCustomerChangeEmailActionbuilder
(MyCustomerChangeEmailAction template) create builder for MyCustomerChangeEmailAction instancestatic MyCustomerChangeEmailAction
deepCopy
(MyCustomerChangeEmailAction template) factory method to create a deep copy of MyCustomerChangeEmailAction@NotNull String
getEmail()
New value to set.static MyCustomerChangeEmailAction
of()
factory methodstatic MyCustomerChangeEmailAction
of
(MyCustomerChangeEmailAction template) factory method to create a shallow copy MyCustomerChangeEmailActionvoid
New value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerChangeEmailAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
getAction, withMyCustomerUpdateAction
Methods 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
-
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
-