Interface CustomerGroupChangeNameAction
- All Superinterfaces:
CustomerGroupUpdateAction,ResourceUpdateAction<CustomerGroupUpdateAction>
CustomerGroupChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupChangeNameAction customerGroupChangeNameAction = CustomerGroupChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerGroupChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerGroupChangeNameActionbuilder(CustomerGroupChangeNameAction template) create builder for CustomerGroupChangeNameAction instancecopyDeep()deepCopy(CustomerGroupChangeNameAction template) factory method to create a deep copy of CustomerGroupChangeNameAction@NotNull StringgetName()New name of the CustomerGroup.of()factory methodof(CustomerGroupChangeNameAction template) factory method to create a shallow copy CustomerGroupChangeNameActionvoidNew name of the CustomerGroup.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupChangeNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.customer_group.CustomerGroupUpdateAction
getAction, withCustomerGroupUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for CustomerGroupChangeNameAction- See Also:
-
-
Method Details
-
getName
New name of the CustomerGroup.
- Returns:
- name
-
setName
New name of the CustomerGroup.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of CustomerGroupChangeNameAction
-
of
factory method to create a shallow copy CustomerGroupChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerGroupChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceCustomerGroupUpdateAction
-
deepCopy
@Nullable static CustomerGroupChangeNameAction deepCopy(@Nullable CustomerGroupChangeNameAction template) factory method to create a deep copy of CustomerGroupChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupChangeNameAction- Returns:
- builder
-
builder
create builder for CustomerGroupChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupChangeNameAction
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
-