Package | Description |
---|---|
io.sphere.sdk.categories |
Provides model types to organize products in a hierarchical structure.
|
Modifier and Type | Method and Description |
---|---|
static CategoryDraftDsl |
CategoryDraftDsl.of(CategoryDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static CategoryDraftDsl |
CategoryDraftDsl.of(LocalizedString name,
LocalizedString slug)
Creates a new object initialized with the given values.
|
CategoryDraftDsl |
CategoryDraftDsl.withAssets(List<AssetDraft> assets) |
CategoryDraftDsl |
CategoryDraftDsl.withCustom(CustomFieldsDraft custom) |
CategoryDraftDsl |
CategoryDraftDsl.withDescription(LocalizedString description) |
CategoryDraftDsl |
CategoryDraftDsl.withExternalId(String externalId) |
CategoryDraftDsl |
CategoryDraftDsl.withKey(String key) |
CategoryDraftDsl |
CategoryDraftDsl.withMetaDescription(LocalizedString metaDescription) |
CategoryDraftDsl |
CategoryDraftDsl.withMetaKeywords(LocalizedString metaKeywords) |
CategoryDraftDsl |
CategoryDraftDsl.withMetaTitle(LocalizedString metaTitle) |
CategoryDraftDsl |
CategoryDraftDsl.withName(LocalizedString name) |
CategoryDraftDsl |
CategoryDraftDsl.withOrderHint(String orderHint) |
CategoryDraftDsl |
CategoryDraftDsl.withParent(ResourceIdentifier<Category> parent) |
CategoryDraftDsl |
CategoryDraftDsl.withSlug(LocalizedString slug) |