Interface BusinessUnitChangeNameAction
- All Superinterfaces:
BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
Updating the name on a Business Unit generates a BusinessUnitNameChanged Message.
Example to create an instance using the builder pattern
BusinessUnitChangeNameAction businessUnitChangeNameAction = BusinessUnitChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitChangeNameActionbuilder
(BusinessUnitChangeNameAction template) create builder for BusinessUnitChangeNameAction instancestatic BusinessUnitChangeNameAction
deepCopy
(BusinessUnitChangeNameAction template) factory method to create a deep copy of BusinessUnitChangeNameAction@NotNull String
getName()
New name to set.static BusinessUnitChangeNameAction
of()
factory methodstatic BusinessUnitChangeNameAction
of
(BusinessUnitChangeNameAction template) factory method to create a shallow copy BusinessUnitChangeNameActionvoid
New name to set.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitUpdateAction
getAction, withBusinessUnitUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for BusinessUnitChangeNameAction- See Also:
-
-
Method Details
-
getName
New name to set.
- Returns:
- name
-
setName
New name to set.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitChangeNameAction
-
of
factory method to create a shallow copy BusinessUnitChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitChangeNameAction deepCopy(@Nullable BusinessUnitChangeNameAction template) factory method to create a deep copy of BusinessUnitChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitChangeNameAction- Returns:
- builder
-
builder
create builder for BusinessUnitChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitChangeNameAction
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
-