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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerGroupChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupChangeNameActionbuilder
(CustomerGroupChangeNameAction template) create builder for CustomerGroupChangeNameAction instancedeepCopy
(CustomerGroupChangeNameAction template) factory method to create a deep copy of CustomerGroupChangeNameAction@NotNull String
getName()
New name of the CustomerGroup.of()
factory methodof
(CustomerGroupChangeNameAction template) factory method to create a shallow copy CustomerGroupChangeNameActionvoid
New name of the CustomerGroup.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.customer_group.CustomerGroupUpdateAction
getAction, withCustomerGroupUpdateAction
Methods 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
-
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
-