Interface ShippingMethodChangeNameAction
- All Superinterfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodUpdateAction
ShippingMethodChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodChangeNameAction shippingMethodChangeNameAction = ShippingMethodChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShippingMethodChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShippingMethodChangeNameActionbuilder
(ShippingMethodChangeNameAction template) create builder for ShippingMethodChangeNameAction instancedeepCopy
(ShippingMethodChangeNameAction template) factory method to create a deep copy of ShippingMethodChangeNameAction@NotNull String
getName()
Unique value to set within a Project.of()
factory methodof
(ShippingMethodChangeNameAction template) factory method to create a shallow copy ShippingMethodChangeNameActionvoid
Unique value to set within a Project.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodUpdateAction
getAction, withShippingMethodUpdateAction
-
Field Details
-
CHANGE_NAME
discriminator value for ShippingMethodChangeNameAction- See Also:
-
-
Method Details
-
getName
Unique value to set within a Project. Must not be empty.
- Returns:
- name
-
setName
Unique value to set within a Project. Must not be empty.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodChangeNameAction
-
of
factory method to create a shallow copy ShippingMethodChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodChangeNameAction deepCopy(@Nullable ShippingMethodChangeNameAction template) factory method to create a deep copy of ShippingMethodChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodChangeNameAction- Returns:
- builder
-
builder
create builder for ShippingMethodChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodChangeNameAction
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<ShippingMethodChangeNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-