Interface CustomerTitleSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Title update action.
Example to create an instance using the builder pattern
CustomerTitleSetMessagePayload customerTitleSetMessagePayload = CustomerTitleSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerTitleSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerTitleSetMessagePayloadbuilder
(CustomerTitleSetMessagePayload template) create builder for CustomerTitleSetMessagePayload instancedeepCopy
(CustomerTitleSetMessagePayload template) factory method to create a deep copy of CustomerTitleSetMessagePayloadgetTitle()
Thetitle
that was set during the Set Title update action.of()
factory methodof
(CustomerTitleSetMessagePayload template) factory method to create a shallow copy CustomerTitleSetMessagePayloadvoid
Thetitle
that was set during the Set Title update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerTitleSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
CUSTOMER_TITLE_SET
discriminator value for CustomerTitleSetMessagePayload- See Also:
-
-
Method Details
-
getTitle
String getTitle()The
title
that was set during the Set Title update action.- Returns:
- title
-
setTitle
The
title
that was set during the Set Title update action.- Parameters:
title
- value to be set
-
of
factory method- Returns:
- instance of CustomerTitleSetMessagePayload
-
of
factory method to create a shallow copy CustomerTitleSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerTitleSetMessagePayload deepCopy(@Nullable CustomerTitleSetMessagePayload template) factory method to create a deep copy of CustomerTitleSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerTitleSetMessagePayload- Returns:
- builder
-
builder
create builder for CustomerTitleSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerTitleSetMessagePayload
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerTitleSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-