diff --git a/changes.md b/changes.md
index 566386f9144..9ea10e867fe 100644
--- a/changes.md
+++ b/changes.md
@@ -4,6 +4,9 @@
Added Type(s)
+- added type `SearchNotReadyError`
+- added type `GraphQLSearchNotReadyError`
+- added type `ProductTailoringAttribute`
+- added type `ProductTailoringSetAttributeAction`
+- added type `ProductTailoringSetAttributeInAllVariantsAction`
- added type `ImageProcessingOngoingWarning`
- added type `WarningObject`
Added Enum(s)
+
+- added enum `product-tailoring` to type `MessageSubscriptionResourceTypeId`
+- added enum `product-tailoring` to type `ResourceTypeId`
+
Returned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
+ * + *
+ * GraphQLSearchNotReadyError graphQLSearchNotReadyError = GraphQLSearchNotReadyError.builder()
+ * .build()
+ *
+ *
+ * GraphQLSearchNotReadyError graphQLSearchNotReadyError = GraphQLSearchNotReadyError.builder()
+ * .build()
+ *
+ * Error-specific additional fields.
+ * @param values properties to be set + * @return Builder + */ + + public GraphQLSearchNotReadyErrorBuilder values(final MapError-specific additional fields.
+ * @param key property name + * @param value property value + * @return Builder + */ + + public GraphQLSearchNotReadyErrorBuilder addValue(final String key, final java.lang.Object value) { + if (this.values == null) { + values = new HashMap<>(); + } + values.put(key, value); + return this; + } + + /** + *Error-specific additional fields.
+ * @return pattern properties + */ + + public MapReturned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class GraphQLSearchNotReadyErrorImpl implements GraphQLSearchNotReadyError, ModelBase { + + private String code; + + private MapError-specific additional fields.
+ */ + + public MapReturned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
+ * + *
+ * SearchNotReadyError searchNotReadyError = SearchNotReadyError.builder()
+ * .message("{message}")
+ * .build()
+ *
+ * $Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.
$Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.
+ * SearchNotReadyError searchNotReadyError = SearchNotReadyError.builder()
+ * .message("{message}")
+ * .build()
+ *
+ * $Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.
Error-specific additional fields.
+ * @param values properties to be set + * @return Builder + */ + + public SearchNotReadyErrorBuilder values(final MapError-specific additional fields.
+ * @param key property name + * @param value property value + * @return Builder + */ + + public SearchNotReadyErrorBuilder addValue(final String key, final java.lang.Object value) { + if (this.values == null) { + values = new HashMap<>(); + } + values.put(key, value); + return this; + } + + /** + *$Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.
Error-specific additional fields.
+ * @return pattern properties + */ + + public MapReturned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class SearchNotReadyErrorImpl implements SearchNotReadyError, ModelBase { + + private String code; + + private String message; + + private Map$Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.
Error-specific additional fields.
+ */ + + public MapAttributes for the Product Variant Tailoring.
+ * @return attributes + */ + @Valid + @JsonProperty("attributes") + public ListIf true
the new Product Variant Tailoring is only staged. If false
the new Product Variant Tailoring is both current and staged.
Attributes for the Product Variant Tailoring.
+ * @param attributes values to be set + */ + + @JsonIgnore + public void setAttributes(final ProductTailoringAttribute... attributes); + + /** + *Attributes for the Product Variant Tailoring.
+ * @param attributes values to be set + */ + + public void setAttributes(final ListIf true
the new Product Variant Tailoring is only staged. If false
the new Product Variant Tailoring is both current and staged.
Attributes for the Product Variant Tailoring.
+ * @param attributes value to be set + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder attributes( + @Nullable final com.commercetools.api.models.product_tailoring.ProductTailoringAttribute... attributes) { + this.attributes = new ArrayList<>(Arrays.asList(attributes)); + return this; + } + + /** + *Attributes for the Product Variant Tailoring.
+ * @param attributes value to be set + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder attributes( + @Nullable final java.util.ListAttributes for the Product Variant Tailoring.
+ * @param attributes value to be set + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder plusAttributes( + @Nullable final com.commercetools.api.models.product_tailoring.ProductTailoringAttribute... attributes) { + if (this.attributes == null) { + this.attributes = new ArrayList<>(); + } + this.attributes.addAll(Arrays.asList(attributes)); + return this; + } + + /** + *Attributes for the Product Variant Tailoring.
+ * @param builder function to build the attributes value + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder plusAttributes( + FunctionAttributes for the Product Variant Tailoring.
+ * @param builder function to build the attributes value + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder withAttributes( + FunctionAttributes for the Product Variant Tailoring.
+ * @param builder function to build the attributes value + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder addAttributes( + FunctionAttributes for the Product Variant Tailoring.
+ * @param builder function to build the attributes value + * @return Builder + */ + + public ProductTailoringAddVariantActionBuilder setAttributes( + FunctionIf true
the new Product Variant Tailoring is only staged. If false
the new Product Variant Tailoring is both current and staged.
Attributes for the Product Variant Tailoring.
+ * @return attributes + */ + + @Nullable + public java.util.ListIf true
the new Product Variant Tailoring is only staged. If false
the new Product Variant Tailoring is both current and staged.
Attributes for the Product Variant Tailoring.
+ */ + + public java.util.ListIf true
the new Product Variant Tailoring is only staged. If false
the new Product Variant Tailoring is both current and staged.
The same rules for name
and value
apply as for Attribute in Product Variants.
+ * ProductTailoringAttribute productTailoringAttribute = ProductTailoringAttribute.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * Name of the Attribute.
+ * @return name + */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + @NotNull + @JsonProperty("value") + public Object getValue(); + + /** + *Name of the Attribute.
+ * @param name value to be set + */ + + public void setName(final String name); + + /** + *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + */ + + public void setValue(final Object value); + + /** + * factory method + * @return instance of ProductTailoringAttribute + */ + public static ProductTailoringAttribute of() { + return new ProductTailoringAttributeImpl(); + } + + /** + * factory method to create a shallow copy ProductTailoringAttribute + * @param template instance to be copied + * @return copy instance + */ + public static ProductTailoringAttribute of(final ProductTailoringAttribute template) { + ProductTailoringAttributeImpl instance = new ProductTailoringAttributeImpl(); + instance.setName(template.getName()); + instance.setValue(template.getValue()); + return instance; + } + + /** + * factory method to create a deep copy of ProductTailoringAttribute + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static ProductTailoringAttribute deepCopy(@Nullable final ProductTailoringAttribute template) { + if (template == null) { + return null; + } + ProductTailoringAttributeImpl instance = new ProductTailoringAttributeImpl(); + instance.setName(template.getName()); + instance.setValue(template.getValue()); + return instance; + } + + /** + * builder factory method for ProductTailoringAttribute + * @return builder + */ + public static ProductTailoringAttributeBuilder builder() { + return ProductTailoringAttributeBuilder.of(); + } + + /** + * create builder for ProductTailoringAttribute instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductTailoringAttributeBuilder builder(final ProductTailoringAttribute template) { + return ProductTailoringAttributeBuilder.of(template); + } + + /** + * accessor map function + * @param
+ * ProductTailoringAttribute productTailoringAttribute = ProductTailoringAttribute.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * Name of the Attribute.
+ * @param name value to be set + * @return Builder + */ + + public ProductTailoringAttributeBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + * @return Builder + */ + + public ProductTailoringAttributeBuilder value(final java.lang.Object value) { + this.value = value; + return this; + } + + /** + *Name of the Attribute.
+ * @return name + */ + + public String getName() { + return this.name; + } + + /** + *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + + public java.lang.Object getValue() { + return this.value; + } + + /** + * builds ProductTailoringAttribute with checking for non-null required values + * @return ProductTailoringAttribute + */ + public ProductTailoringAttribute build() { + Objects.requireNonNull(name, ProductTailoringAttribute.class + ": name is missing"); + Objects.requireNonNull(value, ProductTailoringAttribute.class + ": value is missing"); + return new ProductTailoringAttributeImpl(name, value); + } + + /** + * builds ProductTailoringAttribute without checking for non-null required values + * @return ProductTailoringAttribute + */ + public ProductTailoringAttribute buildUnchecked() { + return new ProductTailoringAttributeImpl(name, value); + } + + /** + * factory method for an instance of ProductTailoringAttributeBuilder + * @return builder + */ + public static ProductTailoringAttributeBuilder of() { + return new ProductTailoringAttributeBuilder(); + } + + /** + * create builder for ProductTailoringAttribute instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductTailoringAttributeBuilder of(final ProductTailoringAttribute template) { + ProductTailoringAttributeBuilder builder = new ProductTailoringAttributeBuilder(); + builder.name = template.getName(); + builder.value = template.getValue(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringAttributeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringAttributeImpl.java new file mode 100644 index 00000000000..5dcf9c071a0 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringAttributeImpl.java @@ -0,0 +1,106 @@ + +package com.commercetools.api.models.product_tailoring; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *The same rules for name
and value
apply as for Attribute in Product Variants.
Name of the Attribute.
+ */ + + public String getName() { + return this.name; + } + + /** + *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ */ + + public java.lang.Object getValue() { + return this.value; + } + + public void setName(final String name) { + this.name = name; + } + + public void setValue(final java.lang.Object value) { + this.value = value; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ProductTailoringAttributeImpl that = (ProductTailoringAttributeImpl) o; + + return new EqualsBuilder().append(name, that.name) + .append(value, that.value) + .append(name, that.name) + .append(value, that.value) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(name).append(value).toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("value", value) + .build(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringSetAttributeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringSetAttributeAction.java new file mode 100644 index 00000000000..e4c91fae05a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringSetAttributeAction.java @@ -0,0 +1,214 @@ + +package com.commercetools.api.models.product_tailoring; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +import jakarta.validation.constraints.NotNull; + +/** + *Either variantId
or sku
is required.
+ * ProductTailoringSetAttributeAction productTailoringSetAttributeAction = ProductTailoringSetAttributeAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * The id
of the ProductVariant to update. Required if sku
is absent.
The sku
of the ProductVariant to update. Required if variantId
is absent.
The name of the Attribute to set.
+ * @return name + */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *Value to set for the Attribute. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + + @JsonProperty("value") + public Object getValue(); + + /** + *If true
, only the staged Attribute is set. If false
, both current and staged Attribute is set.
The id
of the ProductVariant to update. Required if sku
is absent.
The sku
of the ProductVariant to update. Required if variantId
is absent.
The name of the Attribute to set.
+ * @param name value to be set + */ + + public void setName(final String name); + + /** + *Value to set for the Attribute. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + */ + + public void setValue(final Object value); + + /** + *If true
, only the staged Attribute is set. If false
, both current and staged Attribute is set.
+ * ProductTailoringSetAttributeAction productTailoringSetAttributeAction = ProductTailoringSetAttributeAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * The id
of the ProductVariant to update. Required if sku
is absent.
The sku
of the ProductVariant to update. Required if variantId
is absent.
The name of the Attribute to set.
+ * @param name value to be set + * @return Builder + */ + + public ProductTailoringSetAttributeActionBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *Value to set for the Attribute. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + * @return Builder + */ + + public ProductTailoringSetAttributeActionBuilder value(@Nullable final java.lang.Object value) { + this.value = value; + return this; + } + + /** + *If true
, only the staged Attribute is set. If false
, both current and staged Attribute is set.
The id
of the ProductVariant to update. Required if sku
is absent.
The sku
of the ProductVariant to update. Required if variantId
is absent.
The name of the Attribute to set.
+ * @return name + */ + + public String getName() { + return this.name; + } + + /** + *Value to set for the Attribute. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + + @Nullable + public java.lang.Object getValue() { + return this.value; + } + + /** + *If true
, only the staged Attribute is set. If false
, both current and staged Attribute is set.
Either variantId
or sku
is required.
The id
of the ProductVariant to update. Required if sku
is absent.
The sku
of the ProductVariant to update. Required if variantId
is absent.
The name of the Attribute to set.
+ */ + + public String getName() { + return this.name; + } + + /** + *Value to set for the Attribute. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ */ + + public java.lang.Object getValue() { + return this.value; + } + + /** + *If true
, only the staged Attribute is set. If false
, both current and staged Attribute is set.
Adds, removes, or changes a tailored Attribute in all Product Variants of a Product at the same time. This action is useful for setting tailored values for Attributes with the Constraint SameForAll
.
+ * ProductTailoringSetAttributeInAllVariantsAction productTailoringSetAttributeInAllVariantsAction = ProductTailoringSetAttributeInAllVariantsAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * The name of the Attribute to set.
+ * @return name + */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *Value to set for the Attributes. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + + @JsonProperty("value") + public Object getValue(); + + /** + *If true
, only the staged Attributes are set. If false
, both the current and staged Attributes are set.
The name of the Attribute to set.
+ * @param name value to be set + */ + + public void setName(final String name); + + /** + *Value to set for the Attributes. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + */ + + public void setValue(final Object value); + + /** + *If true
, only the staged Attributes are set. If false
, both the current and staged Attributes are set.
+ * ProductTailoringSetAttributeInAllVariantsAction productTailoringSetAttributeInAllVariantsAction = ProductTailoringSetAttributeInAllVariantsAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * The name of the Attribute to set.
+ * @param name value to be set + * @return Builder + */ + + public ProductTailoringSetAttributeInAllVariantsActionBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *Value to set for the Attributes. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @param value value to be set + * @return Builder + */ + + public ProductTailoringSetAttributeInAllVariantsActionBuilder value(@Nullable final java.lang.Object value) { + this.value = value; + return this; + } + + /** + *If true
, only the staged Attributes are set. If false
, both the current and staged Attributes are set.
The name of the Attribute to set.
+ * @return name + */ + + public String getName() { + return this.name; + } + + /** + *Value to set for the Attributes. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ * @return value + */ + + @Nullable + public java.lang.Object getValue() { + return this.value; + } + + /** + *If true
, only the staged Attributes are set. If false
, both the current and staged Attributes are set.
Adds, removes, or changes a tailored Attribute in all Product Variants of a Product at the same time. This action is useful for setting tailored values for Attributes with the Constraint SameForAll
.
The name of the Attribute to set.
+ */ + + public String getName() { + return this.name; + } + + /** + *Value to set for the Attributes. If empty, any existing value will be removed.
+ *The AttributeType determines the format of the Attribute value
to be provided:
key
of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value
.value
.value
.set
object as value
.value
.Tailoring of Nested Type Attributes is not supported.
+ */ + + public java.lang.Object getValue() { + return this.value; + } + + /** + *If true
, only the staged Attributes are set. If false
, both the current and staged Attributes are set.
Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the tailored ProductVariant.
Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the tailored ProductVariant.
Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the tailored ProductVariant.
Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the ProductVariant to be tailored.
Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the ProductVariant to be tailored.
Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,The id
of the ProductVariant to be tailored.
Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant according to the respective AttributeDefinition. If provided, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes
of the corresponding ProductVariant:
name
, its value
is overwritten,Messages related to ProductSelections.
*/ MessageSubscriptionResourceTypeId PRODUCT_SELECTION = MessageSubscriptionResourceTypeIdEnum.PRODUCT_SELECTION; /** +Messages related to ProductTailoring.
*/ + MessageSubscriptionResourceTypeId PRODUCT_TAILORING = MessageSubscriptionResourceTypeIdEnum.PRODUCT_TAILORING; + /**Messages related to Quotes.
*/ MessageSubscriptionResourceTypeId QUOTE = MessageSubscriptionResourceTypeIdEnum.QUOTE; /** @@ -151,6 +154,11 @@ enum MessageSubscriptionResourceTypeIdEnum implements MessageSubscriptionResourc */ PRODUCT_SELECTION("product-selection"), + /** + * product-tailoring + */ + PRODUCT_TAILORING("product-tailoring"), + /** * quote */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java index c213d09737f..6d1e97c9869 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java @@ -86,6 +86,9 @@ public interface ResourceTypeId extends JsonEnum {ProductSelection
*/ ResourceTypeId PRODUCT_SELECTION = ResourceTypeIdEnum.PRODUCT_SELECTION; /** +ProductTailoring
*/ + ResourceTypeId PRODUCT_TAILORING = ResourceTypeIdEnum.PRODUCT_TAILORING; + /**Quote, QuoteRequest and StagedQuote. When a StagedQuote is created, the CustomFields will be copied from the QuoteRequest and when a Quote is created, the CustomFields will be copied from the StagedQuote. For this reason, the Types for Quotes are also valid for QuoteRequests and StagedQuotes, and hence all have the same identifier: quote
.