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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerSetTitleActionbuilder(CustomerSetTitleAction template) create builder for CustomerSetTitleAction instancecopyDeep()static CustomerSetTitleActiondeepCopy(CustomerSetTitleAction template) factory method to create a deep copy of CustomerSetTitleActiongetTitle()Value to set.static CustomerSetTitleActionof()factory methodstatic CustomerSetTitleActionof(CustomerSetTitleAction template) factory method to create a shallow copy CustomerSetTitleActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetTitleAction>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
-
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
-
copyDeep
CustomerSetTitleAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
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
-