public interface Attribute
Product attributes are documented here.
String getName()
<T> T getValue(AttributeAccess<T> access)
static <T> Attribute of(String name, AttributeAccess<T> access, T value)
static <T> Attribute of(NamedAttributeAccess<T> namedAttributeAccess, T value)
default Boolean getValueAsBoolean()
default String getValueAsString()
default LocalizedString getValueAsLocalizedString()
default Set<LocalizedString> getValueAsLocalizedStringSet()
default EnumValue getValueAsEnumValue()
default LocalizedEnumValue getValueAsLocalizedEnumValue()
default Set<LocalizedEnumValue> getValueAsLocalizedEnumValueSet()
default Double getValueAsDouble()
default Integer getValueAsInteger()
default Long getValueAsLong()
default javax.money.MonetaryAmount getValueAsMoney()
default Set<javax.money.MonetaryAmount> getValueAsMoneySet()
default LocalDate getValueAsLocalDate()
default LocalTime getValueAsLocalTime()
default ZonedDateTime getValueAsDateTime()
default Set<ZonedDateTime> getValueAsDateTimeSet()
default com.fasterxml.jackson.databind.JsonNode getValueAsJsonNode()