Interface ProductTypeChangeInputHintAction
- All Superinterfaces:
ProductTypeUpdateAction,ResourceUpdateAction<ProductTypeUpdateAction>
Updates the inputHint of an AttributeDefinition.
Example to create an instance using the builder pattern
ProductTypeChangeInputHintAction productTypeChangeInputHintAction = ProductTypeChangeInputHintAction.builder()
.attributeName("{attributeName}")
.newValue(TextInputHint.SINGLE_LINE)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductTypeChangeInputHintAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTypeChangeInputHintActionbuilder(ProductTypeChangeInputHintAction template) create builder for ProductTypeChangeInputHintAction instancecopyDeep()deepCopy(ProductTypeChangeInputHintAction template) factory method to create a deep copy of ProductTypeChangeInputHintAction@NotNull StringName of the AttributeDefinition to update.@NotNull TextInputHintSingleLineorMultiLineof()factory methodof(ProductTypeChangeInputHintAction template) factory method to create a shallow copy ProductTypeChangeInputHintActionvoidsetAttributeName(String attributeName) Name of the AttributeDefinition to update.voidsetNewValue(TextInputHint newValue) SingleLineorMultiLinestatic com.fasterxml.jackson.core.type.TypeReference<ProductTypeChangeInputHintAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
getAction, withProductTypeUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_INPUT_HINT
discriminator value for ProductTypeChangeInputHintAction- See Also:
-
-
Method Details
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getNewValue
SingleLineorMultiLine- Returns:
- newValue
-
setAttributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName- value to be set
-
setNewValue
SingleLineorMultiLine- Parameters:
newValue- value to be set
-
of
factory method- Returns:
- instance of ProductTypeChangeInputHintAction
-
of
factory method to create a shallow copy ProductTypeChangeInputHintAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTypeChangeInputHintAction copyDeep()- Specified by:
copyDeepin interfaceProductTypeUpdateAction
-
deepCopy
@Nullable static ProductTypeChangeInputHintAction deepCopy(@Nullable ProductTypeChangeInputHintAction template) factory method to create a deep copy of ProductTypeChangeInputHintAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTypeChangeInputHintAction- Returns:
- builder
-
builder
create builder for ProductTypeChangeInputHintAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTypeChangeInputHintAction
default <T> T withProductTypeChangeInputHintAction(Function<ProductTypeChangeInputHintAction, 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<ProductTypeChangeInputHintAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-