Package | Description |
---|---|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
Modifier and Type | Method and Description |
---|---|
List<AttributeDraft> |
ProductVariantDraft.getAttributes() |
List<AttributeDraft> |
ProductVariantDraftDsl.getAttributes() |
Modifier and Type | Method and Description |
---|---|
ProductVariantDraftBuilder |
ProductVariantDraftBuilder.attributes(AttributeDraft... attributes) |
static AttributeContainer |
AttributeContainerDraft.of(AttributeDraft... attributeDrafts) |
ProductVariantDraftBuilder |
ProductVariantDraftBuilder.plusAttribute(AttributeDraft attribute) |
Modifier and Type | Method and Description |
---|---|
static AttributeContainer |
AttributeContainerDraft.of(List<AttributeDraft> attributeDrafts) |
ProductVariantDraftDsl |
ProductVariantDraftDsl.withAttributes(List<AttributeDraft> attributes) |
Modifier and Type | Method and Description |
---|---|
AttributeDraft |
AttributeDraftBuilder.build() |
AttributeDraft |
NamedAttributeAccess.draftOf(T value) |
static <T> AttributeDraft |
AttributeDraft.of(NamedAttributeAccess<T> namedAccess,
T value) |
static <T> AttributeDraft |
AttributeDraft.of(String name,
AttributeAccess<T> access,
T value) |
static AttributeDraft |
AttributeDraft.of(String name,
com.fasterxml.jackson.databind.JsonNode value) |
static <T> AttributeDraft |
AttributeDraft.of(String name,
T value) |
Modifier and Type | Method and Description |
---|---|
static AttributeDraftBuilder |
AttributeDraftBuilder.of(AttributeDraft template) |
Modifier and Type | Method and Description |
---|---|
List<AttributeDraft> |
AddVariant.getAttributes() |
Modifier and Type | Method and Description |
---|---|
static SetAttributeInAllVariants |
SetAttributeInAllVariants.of(AttributeDraft attribute)
Action to add/change a custom attribute.
|
static SetAttributeInAllVariants |
SetAttributeInAllVariants.of(AttributeDraft attribute,
Boolean staged) |
static SetAttribute |
SetAttribute.of(Integer variantId,
AttributeDraft attribute)
Action to add/change a custom attribute.
|
static SetAttribute |
SetAttribute.of(Integer variantId,
AttributeDraft attribute,
Boolean staged) |
static SetAttribute |
SetAttribute.ofSku(String sku,
AttributeDraft attribute)
Action to add/change a custom attribute.
|
static SetAttribute |
SetAttribute.ofSku(String sku,
AttributeDraft attribute,
Boolean staged) |
static SetAttribute |
SetAttribute.ofVariantId(Integer variantId,
AttributeDraft attribute)
Action to add/change a custom attribute.
|
static SetAttribute |
SetAttribute.ofVariantId(Integer variantId,
AttributeDraft attribute,
Boolean staged) |
Modifier and Type | Method and Description |
---|---|
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
Boolean staged) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
String sku) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
String sku,
Boolean staged) |