io.sphere.sdk.attributes.AttributeDefinition Maven / Gradle / Ivy
package io.sphere.sdk.attributes;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.models.LocalizedStrings;
/**
* Builders:
*
*
* - {@link BooleanAttributeDefinitionBuilder}
* - {@link DateAttributeDefinitionBuilder}
* - {@link DateTimeAttributeDefinitionBuilder}
* - {@link EnumAttributeDefinitionBuilder}
* - {@link LocalizedEnumAttributeDefinitionBuilder}
* - {@link LocalizedTextAttributeDefinitionBuilder}
* - {@link MoneyAttributeDefinitionBuilder}
* - {@link NumberAttributeDefinitionBuilder}
* - {@link SetAttributeDefinitionBuilder}
* - {@link TextAttributeDefinitionBuilder}
* - {@link TimeAttributeDefinitionBuilder}
* - {@link ReferenceAttributeDefinitionBuilder}
*
*
*/
@JsonDeserialize(using = AttributeDefinitionDeserializer.class)
public interface AttributeDefinition {
AttributeType getAttributeType();
String getName();
LocalizedStrings getLabel();
boolean getIsRequired();
AttributeConstraint getAttributeConstraint();
boolean getIsSearchable();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy