Interface ShippingMethodSetLocalizedDescriptionAction
- All Superinterfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodUpdateAction
ShippingMethodSetLocalizedDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodSetLocalizedDescriptionAction shippingMethodSetLocalizedDescriptionAction = ShippingMethodSetLocalizedDescriptionAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShippingMethodSetLocalizedDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShippingMethodSetLocalizedDescriptionActioncreate builder for ShippingMethodSetLocalizedDescriptionAction instancefactory method to create a deep copy of ShippingMethodSetLocalizedDescriptionAction@Valid LocalizedString
Value to set.of()
factory methodfactory method to create a shallow copy ShippingMethodSetLocalizedDescriptionActionvoid
setLocalizedDescription
(LocalizedString localizedDescription) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodSetLocalizedDescriptionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withShippingMethodSetLocalizedDescriptionAction
(Function<ShippingMethodSetLocalizedDescriptionAction, T> helper) 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_LOCALIZED_DESCRIPTION
discriminator value for ShippingMethodSetLocalizedDescriptionAction- See Also:
-
-
Method Details
-
getLocalizedDescription
Value to set. If empty, any existing value will be removed.
- Returns:
- localizedDescription
-
setLocalizedDescription
Value to set. If empty, any existing value will be removed.
- Parameters:
localizedDescription
- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodSetLocalizedDescriptionAction
-
of
static ShippingMethodSetLocalizedDescriptionAction of(ShippingMethodSetLocalizedDescriptionAction template) factory method to create a shallow copy ShippingMethodSetLocalizedDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodSetLocalizedDescriptionAction deepCopy(@Nullable ShippingMethodSetLocalizedDescriptionAction template) factory method to create a deep copy of ShippingMethodSetLocalizedDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodSetLocalizedDescriptionAction- Returns:
- builder
-
builder
static ShippingMethodSetLocalizedDescriptionActionBuilder builder(ShippingMethodSetLocalizedDescriptionAction template) create builder for ShippingMethodSetLocalizedDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodSetLocalizedDescriptionAction
default <T> T withShippingMethodSetLocalizedDescriptionAction(Function<ShippingMethodSetLocalizedDescriptionAction, T> helper) 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<ShippingMethodSetLocalizedDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-