Package | Description |
---|---|
io.sphere.sdk.models |
Provides the common API types of Composable Commerce.
|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
io.sphere.sdk.producttypes.commands.updateactions |
Provides the possible operations which can be performed on update commands for product types.
|
io.sphere.sdk.types |
Provides model classes and builders for types.
|
io.sphere.sdk.types.commands.updateactions |
Provides the possible operations which can be performed on update commands for types.
|
Modifier and Type | Method and Description |
---|---|
static EnumValue |
EnumValue.of(String key,
String label) |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.core.type.TypeReference<EnumValue> |
EnumValue.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
default EnumValue |
Attribute.getValueAsEnumValue() |
Modifier and Type | Method and Description |
---|---|
default Set<EnumValue> |
Attribute.getValueAsEnumValueSet() |
List<EnumValue> |
EnumAttributeType.getValues() |
static AttributeAccess<EnumValue> |
AttributeAccess.ofEnumValue() |
static AttributeAccess<Set<EnumValue>> |
AttributeAccess.ofEnumValueSet() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
ProductAttributeConverterBase.convertEnumValue(EnumValue enumValue,
Attribute attribute,
ProductType productType) |
protected String |
DefaultProductAttributeFormatter.convertEnumValue(EnumValue enumValue,
Attribute attribute,
ProductType productType) |
static EnumAttributeType |
EnumAttributeType.of(EnumValue mandatoryValue,
EnumValue... moreValues) |
static EnumAttributeType |
EnumAttributeType.of(EnumValue mandatoryValue,
EnumValue... moreValues) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
ProductAttributeConverterBase.convertEnumValueSet(Set<EnumValue> enumValueSet,
Attribute attribute,
ProductType productType) |
protected String |
DefaultProductAttributeFormatter.convertEnumValueSet(Set<EnumValue> enumValueSet,
Attribute attribute,
ProductType productType) |
static EnumAttributeType |
EnumAttributeType.of(List<EnumValue> values) |
Modifier and Type | Method and Description |
---|---|
EnumValue |
ChangePlainEnumValueLabel.getNewValue() |
EnumValue |
AddEnumValue.getValue() |
Modifier and Type | Method and Description |
---|---|
List<EnumValue> |
ChangeEnumValueOrder.getValues() |
Modifier and Type | Method and Description |
---|---|
static AddEnumValue |
AddEnumValue.of(String attributeName,
EnumValue value) |
static ChangePlainEnumValueLabel |
ChangePlainEnumValueLabel.of(String attributeName,
EnumValue newValue) |
static RemoveEnumValues |
RemoveEnumValues.ofEnumValue(String attributeName,
EnumValue enumValue) |
Modifier and Type | Method and Description |
---|---|
static ChangeEnumValueOrder |
ChangeEnumValueOrder.of(String attributeName,
List<EnumValue> values) |
static RemoveEnumValues |
RemoveEnumValues.ofEnumValue(String attributeName,
List<EnumValue> enumValues) |
Modifier and Type | Method and Description |
---|---|
List<EnumValue> |
EnumFieldType.getValues() |
Modifier and Type | Method and Description |
---|---|
static EnumFieldType |
EnumFieldType.of(List<EnumValue> values) |
Modifier and Type | Method and Description |
---|---|
EnumValue |
AddEnumValue.getValue() |
EnumValue |
ChangeEnumValueLabel.getValue() |
Modifier and Type | Method and Description |
---|---|
static AddEnumValue |
AddEnumValue.of(String fieldName,
EnumValue value) |
static ChangeEnumValueLabel |
ChangeEnumValueLabel.of(String fieldName,
EnumValue value) |