Interface ProductTypeSetInputTipAction
- All Superinterfaces:
ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
ProductTypeSetInputTipAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeSetInputTipAction productTypeSetInputTipAction = ProductTypeSetInputTipAction.builder()
.attributeName("{attributeName}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductTypeSetInputTipAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTypeSetInputTipActionbuilder
(ProductTypeSetInputTipAction template) create builder for ProductTypeSetInputTipAction instancestatic ProductTypeSetInputTipAction
deepCopy
(ProductTypeSetInputTipAction template) factory method to create a deep copy of ProductTypeSetInputTipAction@NotNull String
Name of the AttributeDefinition to update.@Valid LocalizedString
Value to set.static ProductTypeSetInputTipAction
of()
factory methodstatic ProductTypeSetInputTipAction
of
(ProductTypeSetInputTipAction template) factory method to create a shallow copy ProductTypeSetInputTipActionvoid
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setInputTip
(LocalizedString inputTip) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ProductTypeSetInputTipAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
getAction, withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_INPUT_TIP
discriminator value for ProductTypeSetInputTipAction- See Also:
-
-
Method Details
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getInputTip
Value to set. If empty, any existing value will be removed.
- Returns:
- inputTip
-
setAttributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set
-
setInputTip
Value to set. If empty, any existing value will be removed.
- Parameters:
inputTip
- value to be set
-
of
factory method- Returns:
- instance of ProductTypeSetInputTipAction
-
of
factory method to create a shallow copy ProductTypeSetInputTipAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTypeSetInputTipAction deepCopy(@Nullable ProductTypeSetInputTipAction template) factory method to create a deep copy of ProductTypeSetInputTipAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTypeSetInputTipAction- Returns:
- builder
-
builder
create builder for ProductTypeSetInputTipAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTypeSetInputTipAction
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
-