Interface ShippingMethodSetLocalizedNameAction
- All Superinterfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodUpdateAction
ShippingMethodSetLocalizedNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodSetLocalizedNameAction shippingMethodSetLocalizedNameAction = ShippingMethodSetLocalizedNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShippingMethodSetLocalizedNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShippingMethodSetLocalizedNameActionbuilder
(ShippingMethodSetLocalizedNameAction template) create builder for ShippingMethodSetLocalizedNameAction instancedeepCopy
(ShippingMethodSetLocalizedNameAction template) factory method to create a deep copy of ShippingMethodSetLocalizedNameAction@Valid LocalizedString
Value to set.of()
factory methodof
(ShippingMethodSetLocalizedNameAction template) factory method to create a shallow copy ShippingMethodSetLocalizedNameActionvoid
setLocalizedName
(LocalizedString localizedName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodSetLocalizedNameAction>
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
-
SET_LOCALIZED_NAME
discriminator value for ShippingMethodSetLocalizedNameAction- See Also:
-
-
Method Details
-
getLocalizedName
Value to set. If empty, any existing value will be removed.
- Returns:
- localizedName
-
setLocalizedName
Value to set. If empty, any existing value will be removed.
- Parameters:
localizedName
- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodSetLocalizedNameAction
-
of
factory method to create a shallow copy ShippingMethodSetLocalizedNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodSetLocalizedNameAction deepCopy(@Nullable ShippingMethodSetLocalizedNameAction template) factory method to create a deep copy of ShippingMethodSetLocalizedNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodSetLocalizedNameAction- Returns:
- builder
-
builder
static ShippingMethodSetLocalizedNameActionBuilder builder(ShippingMethodSetLocalizedNameAction template) create builder for ShippingMethodSetLocalizedNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodSetLocalizedNameAction
default <T> T withShippingMethodSetLocalizedNameAction(Function<ShippingMethodSetLocalizedNameAction, 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<ShippingMethodSetLocalizedNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-