Package | Description |
---|---|
io.sphere.sdk.producttypes |
Provides model classes and builders for product types.
|
io.sphere.sdk.producttypes.commands |
Provides types to change the state of product types.
|
Modifier and Type | Class and Description |
---|---|
class |
ProductTypeDraftDsl
Dsl class for
ProductTypeDraft . |
Modifier and Type | Method and Description |
---|---|
static ProductTypeDraft |
ProductTypeDraft.of(String key,
String name,
String description,
List<AttributeDefinition> attributes)
Deprecated.
|
static ProductTypeDraft |
ProductTypeDraft.ofAttributeDefinitionDrafts(String key,
String name,
String description,
List<AttributeDefinitionDraft> attributes) |
Modifier and Type | Method and Description |
---|---|
static ProductTypeDraftBuilder |
ProductTypeDraftBuilder.of(ProductTypeDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ProductTypeDraftDsl |
ProductTypeDraftDsl.of(ProductTypeDraft template)
Creates a new object initialized with the fields of the template parameter.
|
Modifier and Type | Method and Description |
---|---|
static ProductTypeCreateCommand |
ProductTypeCreateCommand.of(ProductTypeDraft draft)
Creates a command object to create a
ProductType . |