Package | Description |
---|---|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
Modifier and Type | Method and Description |
---|---|
static ProductVariantDraftDsl |
ProductVariantDraftDsl.of()
Creates a new object initialized with the given values.
|
static ProductVariantDraftDsl |
ProductVariantDraftDsl.of(ProductVariantDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ProductVariantDraftDsl |
ProductVariantDraftDsl.withAssets(List<AssetDraft> assets) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withAttributes(List<AttributeDraft> attributes) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withImages(List<Image> images) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withKey(String key) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withPrices(List<PriceDraft> prices) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withSku(String sku) |