Package | Description |
---|---|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
io.sphere.sdk.producttypes |
Provides model classes and builders for product types.
|
io.sphere.sdk.producttypes.commands.updateactions |
Provides the possible operations which can be performed on update commands for product types.
|
Modifier and Type | Method and Description |
---|---|
AttributeDefinition |
AttributeDefinitionBuilder.build() |
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeAccess.canHandle(AttributeDefinition attributeDefinition) |
static AttributeDefinitionDraftBuilder |
AttributeDefinitionDraftBuilder.of(AttributeDefinition template)
Creates a new object initialized with the fields of the template parameter.
|
static <T> AttributeExtraction<T> |
AttributeExtraction.of(AttributeDefinition attributeDefinition,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
default AttributeDefinition |
AttributeDefinitionContainer.getAttribute(String attributeName) |
default AttributeDefinition |
ProductType.getAttribute(String attributeName) |
Modifier and Type | Method and Description |
---|---|
default Optional<AttributeDefinition> |
AttributeDefinitionContainer.findAttribute(String attributeName) |
default Optional<AttributeDefinition> |
ProductType.findAttribute(String attributeName) |
List<AttributeDefinition> |
AttributeDefinitionContainer.getAttributes() |
List<AttributeDefinition> |
ProductType.getAttributes() |
Modifier and Type | Method and Description |
---|---|
ProductTypeDraftBuilder |
ProductTypeDraftBuilder.plusAttributes(AttributeDefinition attribute)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static List<AttributeDefinitionDraft> |
ProductTypeDraft.copyAttributes(List<AttributeDefinition> templates) |
static MetaProductType |
MetaProductType.of(List<AttributeDefinition> definitions) |
static ProductTypeDraft |
ProductTypeDraft.of(String key,
String name,
String description,
List<AttributeDefinition> attributes)
Deprecated.
|
ProductTypeDraftBuilder |
ProductTypeDraftBuilder.plusAttributes(List<AttributeDefinition> attributes)
Concatenate
attributes parameter to the attributes list property of this builder. |
Modifier and Type | Method and Description |
---|---|
List<AttributeDefinition> |
ChangeAttributeOrder.getAttributes()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AddAttributeDefinition |
AddAttributeDefinition.of(AttributeDefinition attributeDefinition)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ChangeAttributeOrder |
ChangeAttributeOrder.of(List<AttributeDefinition> attributes)
Deprecated.
|