public interface AttributeDefinition
AttributeDefinitionBuilder
Modifier and Type | Method and Description |
---|---|
AttributeConstraint |
getAttributeConstraint()
Describes how an attribute or a set of attributes should be validated across all variants of a product.
|
AttributeType |
getAttributeType()
Describes the type of the attribute.
|
TextInputHint |
getInputHint() |
LocalizedString |
getInputTip()
Additional information about the attribute that aids content managers when setting product details.
|
LocalizedString |
getLabel()
A human-readable label for the attribute.
|
String |
getName()
The unique name of the attribute used in the API.
|
Boolean |
isRequired()
Whether the attribute is required to have a value.
|
Boolean |
isSearchable()
Whether the attribute's values should generally be enabled in product search.
|
AttributeType getAttributeType()
String getName()
LocalizedString getLabel()
Boolean isRequired()
AttributeConstraint getAttributeConstraint()
Boolean isSearchable()
TextInputHint getInputHint()
@Nullable LocalizedString getInputTip()