Package | Description |
---|---|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanAttributeType
Type for product attributes which only allows
true or false as values. |
class |
DateAttributeType |
class |
DateTimeAttributeType |
class |
EnumAttributeType |
class |
LocalizedEnumAttributeType |
class |
LocalizedStringAttributeType |
class |
MoneyAttributeType |
class |
NestedAttributeType |
class |
NumberAttributeType |
class |
ReferenceAttributeType |
class |
RichReferenceAttributeType<T> |
class |
SetAttributeType |
class |
StringAttributeType |
class |
TimeAttributeType |
Modifier and Type | Method and Description |
---|---|
AttributeType |
AttributeDefinitionDraft.getAttributeType() |
AttributeType |
AttributeDefinition.getAttributeType()
Describes the type of the attribute.
|
AttributeType |
AttributeDefinitionBuilder.getAttributeType() |
AttributeType |
AttributeDefinitionDraftDsl.getAttributeType() |
AttributeType |
SetAttributeType.getElementType() |
Modifier and Type | Method and Description |
---|---|
static SetAttributeType |
SetAttributeType.of(AttributeType elementType) |
static AttributeDefinitionDraftDsl |
AttributeDefinitionDraftDsl.of(AttributeType attributeType,
String name,
LocalizedString label,
Boolean required)
Creates a new object initialized with the given values.
|
static AttributeDefinitionBuilder |
AttributeDefinitionBuilder.of(String name,
LocalizedString label,
AttributeType attributeType) |
AttributeDefinitionDraftDsl |
AttributeDefinitionDraftDsl.withAttributeType(AttributeType attributeType) |
AttributeDefinitionDraftDsl |
AttributeDefinitionDraftDsl.withType(AttributeType attributeType) |