Interface CustomerSetTitleAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
Setting the title of the Customer produces the CustomerTitleSet Message.
Example to create an instance using the builder pattern
CustomerSetTitleAction customerSetTitleAction = CustomerSetTitleAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetTitleActionbuilder
(CustomerSetTitleAction template) create builder for CustomerSetTitleAction instancestatic CustomerSetTitleAction
deepCopy
(CustomerSetTitleAction template) factory method to create a deep copy of CustomerSetTitleActiongetTitle()
Value to set.static CustomerSetTitleAction
of()
factory methodstatic CustomerSetTitleAction
of
(CustomerSetTitleAction template) factory method to create a shallow copy CustomerSetTitleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetTitleAction>
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
-
SET_TITLE
discriminator value for CustomerSetTitleAction- See Also:
-
-
Method Details
-
getTitle
String getTitle()Value to set. If empty, any existing value is removed.
- Returns:
- title
-
setTitle
Value to set. If empty, any existing value is removed.
- Parameters:
title
- value to be set
-
of
factory method- Returns:
- instance of CustomerSetTitleAction
-
of
factory method to create a shallow copy CustomerSetTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomerSetTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetTitleAction- Returns:
- builder
-
builder
create builder for CustomerSetTitleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetTitleAction
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
-