Interface ShippingMethodSetDescriptionAction
- All Superinterfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodUpdateAction
Deprecated.
ShippingMethodSetDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodSetDescriptionAction shippingMethodSetDescriptionAction = ShippingMethodSetDescriptionAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.discriminator value for ShippingMethodSetDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.builder factory method for ShippingMethodSetDescriptionActionbuilder
(ShippingMethodSetDescriptionAction template) Deprecated.create builder for ShippingMethodSetDescriptionAction instancedeepCopy
(ShippingMethodSetDescriptionAction template) Deprecated.factory method to create a deep copy of ShippingMethodSetDescriptionActionDeprecated.Value to set.of()
Deprecated.factory methodof
(ShippingMethodSetDescriptionAction template) Deprecated.factory method to create a shallow copy ShippingMethodSetDescriptionActionvoid
setDescription
(String description) Deprecated.Value to set.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodSetDescriptionAction>
Deprecated.gives a TypeReference for usage with Jackson DataBinddefault <T> T
Deprecated.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
-
SET_DESCRIPTION
Deprecated.discriminator value for ShippingMethodSetDescriptionAction- See Also:
-
-
Method Details
-
getDescription
String getDescription()Deprecated.Value to set. If empty, any existing value will be removed.
- Returns:
- description
-
setDescription
Deprecated.Value to set. If empty, any existing value will be removed.
- Parameters:
description
- value to be set
-
of
Deprecated.factory method- Returns:
- instance of ShippingMethodSetDescriptionAction
-
of
Deprecated.factory method to create a shallow copy ShippingMethodSetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodSetDescriptionAction deepCopy(@Nullable ShippingMethodSetDescriptionAction template) Deprecated.factory method to create a deep copy of ShippingMethodSetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
Deprecated.builder factory method for ShippingMethodSetDescriptionAction- Returns:
- builder
-
builder
static ShippingMethodSetDescriptionActionBuilder builder(ShippingMethodSetDescriptionAction template) Deprecated.create builder for ShippingMethodSetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodSetDescriptionAction
default <T> T withShippingMethodSetDescriptionAction(Function<ShippingMethodSetDescriptionAction, T> helper) Deprecated.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<ShippingMethodSetDescriptionAction> typeReference()Deprecated.gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-