Package | Description |
---|---|
io.sphere.sdk.producttypes |
Provides model classes and builders for product types.
|
Modifier and Type | Method and Description |
---|---|
ProductTypeDraftDsl |
ProductTypeDraftBuilder.build()
Creates a new instance of
ProductTypeDraftDsl with the values of this builder. |
static ProductTypeDraftDsl |
ProductTypeDraftDsl.of(ProductTypeDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ProductTypeDraftDsl |
ProductTypeDraftDsl.of(String key,
String name,
String description,
List<AttributeDefinitionDraft> attributes)
Creates a new object initialized with the given values.
|
ProductTypeDraftDsl |
ProductTypeDraftDsl.withAttributes(List<AttributeDefinitionDraft> attributes) |
ProductTypeDraftDsl |
ProductTypeDraftDsl.withDescription(String description) |
ProductTypeDraftDsl |
ProductTypeDraftDsl.withKey(String key) |
ProductTypeDraftDsl |
ProductTypeDraftDsl.withName(String name) |