Interface BusinessUnitNameChangedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Change Name update action.
Example to create an instance using the builder pattern
BusinessUnitNameChangedMessagePayload businessUnitNameChangedMessagePayload = BusinessUnitNameChangedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitNameChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitNameChangedMessagePayloadbuilder
(BusinessUnitNameChangedMessagePayload template) create builder for BusinessUnitNameChangedMessagePayload instancefactory method to create a deep copy of BusinessUnitNameChangedMessagePayload@NotNull String
getName()
Updated name of the Business Unit.of()
factory methodof
(BusinessUnitNameChangedMessagePayload template) factory method to create a shallow copy BusinessUnitNameChangedMessagePayloadvoid
Updated name of the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitNameChangedMessagePayload>
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
-
BUSINESS_UNIT_NAME_CHANGED
discriminator value for BusinessUnitNameChangedMessagePayload- See Also:
-
-
Method Details
-
getName
Updated name of the Business Unit.
- Returns:
- name
-
setName
Updated name of the Business Unit.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitNameChangedMessagePayload
-
of
factory method to create a shallow copy BusinessUnitNameChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitNameChangedMessagePayload deepCopy(@Nullable BusinessUnitNameChangedMessagePayload template) factory method to create a deep copy of BusinessUnitNameChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitNameChangedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitNameChangedMessagePayloadBuilder builder(BusinessUnitNameChangedMessagePayload template) create builder for BusinessUnitNameChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitNameChangedMessagePayload
default <T> T withBusinessUnitNameChangedMessagePayload(Function<BusinessUnitNameChangedMessagePayload, T> helper) 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<BusinessUnitNameChangedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-