diff --git a/changes.md b/changes.md
index 3f8468995d7..6a771d8d42e 100644
--- a/changes.md
+++ b/changes.md
@@ -1,8 +1,49 @@
+**Api changes**
+
+Added Type(s)
+
+- added type `ApprovalRuleSetCustomFieldAction`
+- added type `ApprovalRuleSetCustomTypeAction`
+Added Property(s)
+
+- added property `custom` to type `ApprovalRule`
+- added property `source` to type `EventBridgeDestination`
+Added Enum(s)
+
+- added enum `approval-rule` to type `CustomFieldReferenceValue`
+- added enum `approval-rule` to type `ResourceTypeId`
+Added Method(s)
+
+- added method `apiRoot.withProjectKey().productTailoring().head()`
+Added Type(s)
- added type `InvalidFieldsUpdateError`
+- added type `NewMasterVariantAdditionNotAllowedError`
+Required Property(s)
+
+- changed property `id` of type `ModifiedBy` to be optional
Checks if a ProductTailoring exists for a given Query Predicate. Returns a 200 OK
status if any ProductTailoring match the Query Predicate or a 404 Not Found
otherwise.
{@code
+ * CompletableFuture> result = apiRoot
+ * .withProjectKey("{projectKey}")
+ * .productTailoring()
+ * .head()
+ * .execute()
+ * }
+ * Custom Fields on the Approval Rule.
+ * @return custom + */ + @Valid + @JsonProperty("custom") + public CustomFields getCustom(); + /** *Unique identifier of the Approval Rule.
* @param id value to be set @@ -268,6 +277,13 @@ public interface ApprovalRule extends BaseResource { public void setBusinessUnit(final BusinessUnitKeyReference businessUnit); + /** + *Custom Fields on the Approval Rule.
+ * @param custom value to be set + */ + + public void setCustom(final CustomFields custom); + /** * factory method * @return instance of ApprovalRule @@ -297,6 +313,7 @@ public static ApprovalRule of(final ApprovalRule template) { instance.setApprovers(template.getApprovers()); instance.setRequesters(template.getRequesters()); instance.setBusinessUnit(template.getBusinessUnit()); + instance.setCustom(template.getCustom()); return instance; } @@ -332,6 +349,7 @@ public static ApprovalRule deepCopy(@Nullable final ApprovalRule template) { .orElse(null)); instance.setBusinessUnit( com.commercetools.api.models.business_unit.BusinessUnitKeyReference.deepCopy(template.getBusinessUnit())); + instance.setCustom(com.commercetools.api.models.type.CustomFields.deepCopy(template.getCustom())); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleBuilder.java index 5a83c22f358..2610b57a445 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleBuilder.java @@ -65,6 +65,9 @@ public class ApprovalRuleBuilder implements BuilderUnique identifier of the Approval Rule.
* @param id value to be set @@ -401,6 +404,41 @@ public ApprovalRuleBuilder businessUnit( return this; } + /** + *Custom Fields on the Approval Rule.
+ * @param builder function to build the custom value + * @return Builder + */ + + public ApprovalRuleBuilder custom( + FunctionCustom Fields on the Approval Rule.
+ * @param builder function to build the custom value + * @return Builder + */ + + public ApprovalRuleBuilder withCustom( + FunctionCustom Fields on the Approval Rule.
+ * @param custom value to be set + * @return Builder + */ + + public ApprovalRuleBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { + this.custom = custom; + return this; + } + /** *Unique identifier of the Approval Rule.
* @return id @@ -531,6 +569,16 @@ public com.commercetools.api.models.business_unit.BusinessUnitKeyReference getBu return this.businessUnit; } + /** + *Custom Fields on the Approval Rule.
+ * @return custom + */ + + @Nullable + public com.commercetools.api.models.type.CustomFields getCustom() { + return this.custom; + } + /** * builds ApprovalRule with checking for non-null required values * @return ApprovalRule @@ -547,7 +595,7 @@ public ApprovalRule build() { Objects.requireNonNull(requesters, ApprovalRule.class + ": requesters is missing"); Objects.requireNonNull(businessUnit, ApprovalRule.class + ": businessUnit is missing"); return new ApprovalRuleImpl(id, version, createdAt, lastModifiedAt, createdBy, lastModifiedBy, key, name, - description, status, predicate, approvers, requesters, businessUnit); + description, status, predicate, approvers, requesters, businessUnit, custom); } /** @@ -556,7 +604,7 @@ public ApprovalRule build() { */ public ApprovalRule buildUnchecked() { return new ApprovalRuleImpl(id, version, createdAt, lastModifiedAt, createdBy, lastModifiedBy, key, name, - description, status, predicate, approvers, requesters, businessUnit); + description, status, predicate, approvers, requesters, businessUnit, custom); } /** @@ -588,6 +636,7 @@ public static ApprovalRuleBuilder of(final ApprovalRule template) { builder.approvers = template.getApprovers(); builder.requesters = template.getRequesters(); builder.businessUnit = template.getBusinessUnit(); + builder.custom = template.getCustom(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java index b95943921b9..5f18900ef7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java @@ -50,6 +50,8 @@ public class ApprovalRuleImpl implements ApprovalRule, ModelBase { private com.commercetools.api.models.business_unit.BusinessUnitKeyReference businessUnit; + private com.commercetools.api.models.type.CustomFields custom; + /** * create instance with all properties */ @@ -65,7 +67,8 @@ public class ApprovalRuleImpl implements ApprovalRule, ModelBase { @JsonProperty("predicate") final String predicate, @JsonProperty("approvers") final com.commercetools.api.models.approval_rule.ApproverHierarchy approvers, @JsonProperty("requesters") final java.util.ListCustom Fields on the Approval Rule.
+ */ + + public com.commercetools.api.models.type.CustomFields getCustom() { + return this.custom; + } + public void setId(final String id) { this.id = id; } @@ -262,6 +274,10 @@ public void setBusinessUnit( this.businessUnit = businessUnit; } + public void setCustom(final com.commercetools.api.models.type.CustomFields custom) { + this.custom = custom; + } + @Override public boolean equals(Object o) { if (this == o) @@ -286,6 +302,7 @@ public boolean equals(Object o) { .append(approvers, that.approvers) .append(requesters, that.requesters) .append(businessUnit, that.businessUnit) + .append(custom, that.custom) .append(id, that.id) .append(version, that.version) .append(createdAt, that.createdAt) @@ -300,6 +317,7 @@ public boolean equals(Object o) { .append(approvers, that.approvers) .append(requesters, that.requesters) .append(businessUnit, that.businessUnit) + .append(custom, that.custom) .isEquals(); } @@ -319,6 +337,7 @@ public int hashCode() { .append(approvers) .append(requesters) .append(businessUnit) + .append(custom) .toHashCode(); } @@ -338,6 +357,7 @@ public String toString() { .append("approvers", approvers) .append("requesters", requesters) .append("businessUnit", businessUnit) + .append("custom", custom) .build(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomFieldAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomFieldAction.java new file mode 100644 index 00000000000..6b3cb51a8fe --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomFieldAction.java @@ -0,0 +1,144 @@ + +package com.commercetools.api.models.approval_rule; + +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; + +/** + * ApprovalRuleSetCustomFieldAction + * + *
+ * ApprovalRuleSetCustomFieldAction approvalRuleSetCustomFieldAction = ApprovalRuleSetCustomFieldAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * Name of the Custom Field.
+ * @return name + */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *If value
is absent or null
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
Name of the Custom Field.
+ * @param name value to be set + */ + + public void setName(final String name); + + /** + *If value
is absent or null
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
+ * ApprovalRuleSetCustomFieldAction approvalRuleSetCustomFieldAction = ApprovalRuleSetCustomFieldAction.builder()
+ * .name("{name}")
+ * .build()
+ *
+ * Name of the Custom Field.
+ * @param name value to be set + * @return Builder + */ + + public ApprovalRuleSetCustomFieldActionBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *If value
is absent or null
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
Name of the Custom Field.
+ * @return name + */ + + public String getName() { + return this.name; + } + + /** + *If value
is absent or null
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
Name of the Custom Field.
+ */ + + public String getName() { + return this.name; + } + + /** + *If value
is absent or null
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value
is provided, it is set for the field defined by name
.
+ * ApprovalRuleSetCustomTypeAction approvalRuleSetCustomTypeAction = ApprovalRuleSetCustomTypeAction.builder()
+ * .build()
+ *
+ * Defines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @return type + */ + @Valid + @JsonProperty("type") + public TypeResourceIdentifier getType(); + + /** + *Sets the Custom Fields fields for the ApprovalRule.
+ * @return fields + */ + @Valid + @JsonProperty("fields") + public FieldContainer getFields(); + + /** + *Defines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @param type value to be set + */ + + public void setType(final TypeResourceIdentifier type); + + /** + *Sets the Custom Fields fields for the ApprovalRule.
+ * @param fields value to be set + */ + + public void setFields(final FieldContainer fields); + + /** + * factory method + * @return instance of ApprovalRuleSetCustomTypeAction + */ + public static ApprovalRuleSetCustomTypeAction of() { + return new ApprovalRuleSetCustomTypeActionImpl(); + } + + /** + * factory method to create a shallow copy ApprovalRuleSetCustomTypeAction + * @param template instance to be copied + * @return copy instance + */ + public static ApprovalRuleSetCustomTypeAction of(final ApprovalRuleSetCustomTypeAction template) { + ApprovalRuleSetCustomTypeActionImpl instance = new ApprovalRuleSetCustomTypeActionImpl(); + instance.setType(template.getType()); + instance.setFields(template.getFields()); + return instance; + } + + /** + * factory method to create a deep copy of ApprovalRuleSetCustomTypeAction + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static ApprovalRuleSetCustomTypeAction deepCopy(@Nullable final ApprovalRuleSetCustomTypeAction template) { + if (template == null) { + return null; + } + ApprovalRuleSetCustomTypeActionImpl instance = new ApprovalRuleSetCustomTypeActionImpl(); + instance.setType(com.commercetools.api.models.type.TypeResourceIdentifier.deepCopy(template.getType())); + instance.setFields(com.commercetools.api.models.type.FieldContainer.deepCopy(template.getFields())); + return instance; + } + + /** + * builder factory method for ApprovalRuleSetCustomTypeAction + * @return builder + */ + public static ApprovalRuleSetCustomTypeActionBuilder builder() { + return ApprovalRuleSetCustomTypeActionBuilder.of(); + } + + /** + * create builder for ApprovalRuleSetCustomTypeAction instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ApprovalRuleSetCustomTypeActionBuilder builder(final ApprovalRuleSetCustomTypeAction template) { + return ApprovalRuleSetCustomTypeActionBuilder.of(template); + } + + /** + * accessor map function + * @param
+ * ApprovalRuleSetCustomTypeAction approvalRuleSetCustomTypeAction = ApprovalRuleSetCustomTypeAction.builder()
+ * .build()
+ *
+ * Defines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @param builder function to build the type value + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder type( + FunctionDefines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @param builder function to build the type value + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder withType( + FunctionDefines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @param type value to be set + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder type( + @Nullable final com.commercetools.api.models.type.TypeResourceIdentifier type) { + this.type = type; + return this; + } + + /** + *Sets the Custom Fields fields for the ApprovalRule.
+ * @param builder function to build the fields value + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder fields( + FunctionSets the Custom Fields fields for the ApprovalRule.
+ * @param builder function to build the fields value + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder withFields( + FunctionSets the Custom Fields fields for the ApprovalRule.
+ * @param fields value to be set + * @return Builder + */ + + public ApprovalRuleSetCustomTypeActionBuilder fields( + @Nullable final com.commercetools.api.models.type.FieldContainer fields) { + this.fields = fields; + return this; + } + + /** + *Defines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ * @return type + */ + + @Nullable + public com.commercetools.api.models.type.TypeResourceIdentifier getType() { + return this.type; + } + + /** + *Sets the Custom Fields fields for the ApprovalRule.
+ * @return fields + */ + + @Nullable + public com.commercetools.api.models.type.FieldContainer getFields() { + return this.fields; + } + + /** + * builds ApprovalRuleSetCustomTypeAction with checking for non-null required values + * @return ApprovalRuleSetCustomTypeAction + */ + public ApprovalRuleSetCustomTypeAction build() { + return new ApprovalRuleSetCustomTypeActionImpl(type, fields); + } + + /** + * builds ApprovalRuleSetCustomTypeAction without checking for non-null required values + * @return ApprovalRuleSetCustomTypeAction + */ + public ApprovalRuleSetCustomTypeAction buildUnchecked() { + return new ApprovalRuleSetCustomTypeActionImpl(type, fields); + } + + /** + * factory method for an instance of ApprovalRuleSetCustomTypeActionBuilder + * @return builder + */ + public static ApprovalRuleSetCustomTypeActionBuilder of() { + return new ApprovalRuleSetCustomTypeActionBuilder(); + } + + /** + * create builder for ApprovalRuleSetCustomTypeAction instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ApprovalRuleSetCustomTypeActionBuilder of(final ApprovalRuleSetCustomTypeAction template) { + ApprovalRuleSetCustomTypeActionBuilder builder = new ApprovalRuleSetCustomTypeActionBuilder(); + builder.type = template.getType(); + builder.fields = template.getFields(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomTypeActionImpl.java new file mode 100644 index 00000000000..779012f7912 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetCustomTypeActionImpl.java @@ -0,0 +1,114 @@ + +package com.commercetools.api.models.approval_rule; + +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; + +/** + * ApprovalRuleSetCustomTypeAction + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ApprovalRuleSetCustomTypeActionImpl implements ApprovalRuleSetCustomTypeAction, ModelBase { + + private String action; + + private com.commercetools.api.models.type.TypeResourceIdentifier type; + + private com.commercetools.api.models.type.FieldContainer fields; + + /** + * create instance with all properties + */ + @JsonCreator + ApprovalRuleSetCustomTypeActionImpl( + @JsonProperty("type") final com.commercetools.api.models.type.TypeResourceIdentifier type, + @JsonProperty("fields") final com.commercetools.api.models.type.FieldContainer fields) { + this.type = type; + this.fields = fields; + this.action = SET_CUSTOM_TYPE; + } + + /** + * create empty instance + */ + public ApprovalRuleSetCustomTypeActionImpl() { + this.action = SET_CUSTOM_TYPE; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *Defines the Type that extends the ApprovalRule with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ApprovalRule.
+ */ + + public com.commercetools.api.models.type.TypeResourceIdentifier getType() { + return this.type; + } + + /** + *Sets the Custom Fields fields for the ApprovalRule.
+ */ + + public com.commercetools.api.models.type.FieldContainer getFields() { + return this.fields; + } + + public void setType(final com.commercetools.api.models.type.TypeResourceIdentifier type) { + this.type = type; + } + + public void setFields(final com.commercetools.api.models.type.FieldContainer fields) { + this.fields = fields; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ApprovalRuleSetCustomTypeActionImpl that = (ApprovalRuleSetCustomTypeActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(type, that.type) + .append(fields, that.fields) + .append(action, that.action) + .append(type, that.type) + .append(fields, that.fields) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateAction.java index b5a14adbd45..cbccf39f331 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateAction.java @@ -29,6 +29,8 @@ */ @JsonSubTypes({ @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversActionImpl.class, name = ApprovalRuleSetApproversAction.SET_APPROVERS), + @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldActionImpl.class, name = ApprovalRuleSetCustomFieldAction.SET_CUSTOM_FIELD), + @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeActionImpl.class, name = ApprovalRuleSetCustomTypeAction.SET_CUSTOM_TYPE), @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionActionImpl.class, name = ApprovalRuleSetDescriptionAction.SET_DESCRIPTION), @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetKeyActionImpl.class, name = ApprovalRuleSetKeyAction.SET_KEY), @JsonSubTypes.Type(value = com.commercetools.api.models.approval_rule.ApprovalRuleSetNameActionImpl.class, name = ApprovalRuleSetNameAction.SET_NAME), @@ -62,6 +64,14 @@ public static ApprovalRuleUpdateAction deepCopy(@Nullable final ApprovalRuleUpda return com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversAction .deepCopy((com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversAction) template); } + if (template instanceof com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldAction) { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldAction + .deepCopy((com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldAction) template); + } + if (template instanceof com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeAction) { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeAction + .deepCopy((com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeAction) template); + } if (template instanceof com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionAction) { return com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionAction .deepCopy((com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionAction) template); @@ -98,6 +108,22 @@ public static com.commercetools.api.models.approval_rule.ApprovalRuleSetApprover return com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversActionBuilder.of(); } + /** + * builder for setCustomField subtype + * @return builder + */ + public static com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldActionBuilder setCustomFieldBuilder() { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldActionBuilder.of(); + } + + /** + * builder for setCustomType subtype + * @return builder + */ + public static com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeActionBuilder setCustomTypeBuilder() { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeActionBuilder.of(); + } + /** * builder for setDescription subtype * @return builder diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionBuilder.java index 0e02ec97947..c9f6502a412 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionBuilder.java @@ -15,6 +15,14 @@ public com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversAction return com.commercetools.api.models.approval_rule.ApprovalRuleSetApproversActionBuilder.of(); } + public com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldActionBuilder setCustomFieldBuilder() { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomFieldActionBuilder.of(); + } + + public com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeActionBuilder setCustomTypeBuilder() { + return com.commercetools.api.models.approval_rule.ApprovalRuleSetCustomTypeActionBuilder.of(); + } + public com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionActionBuilder setDescriptionBuilder() { return com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionActionBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java index 9efe629d658..b723852aab7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java @@ -130,6 +130,7 @@ public interface CategoryDraft extends com.commercetools.api.models.Customizable /** *User-defined unique identifier for the Category.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.
* @return key */ @@ -223,6 +224,7 @@ public interface CategoryDraft extends com.commercetools.api.models.Customizable /** *User-defined unique identifier for the Category.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.
* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftBuilder.java index f501bd120da..00bab25f662 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftBuilder.java @@ -456,6 +456,7 @@ public CategoryDraftBuilder setAssets( /** *User-defined unique identifier for the Category.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.
* @param key value to be set * @return Builder */ @@ -575,6 +576,7 @@ public java.util.ListUser-defined unique identifier for the Category.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.
* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java index abe8fc6dd01..5f10e643d44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java @@ -171,6 +171,7 @@ public java.util.ListUser-defined unique identifier for the Category.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.
*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java index 2c902f4308b..7529a2fd4d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java @@ -42,6 +42,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable /** *User-defined unique identifier for the Customer. The key
field is preferred over customerNumber
as it is mutable and provides more flexibility.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.
* @return key */ @@ -266,6 +267,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable /** *User-defined unique identifier for the Customer. The key
field is preferred over customerNumber
as it is mutable and provides more flexibility.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.
* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java index 375c162ae94..b575c752779 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java @@ -107,6 +107,7 @@ public class CustomerDraftBuilder implements BuilderUser-defined unique identifier for the Customer. The key
field is preferred over customerNumber
as it is mutable and provides more flexibility.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.
* @param key value to be set * @return Builder */ @@ -721,6 +722,7 @@ public CustomerDraftBuilder authenticationMode( /** *User-defined unique identifier for the Customer. The key
field is preferred over customerNumber
as it is mutable and provides more flexibility.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.
* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java index e237ddac1e6..8ed54630126 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java @@ -139,6 +139,7 @@ public CustomerDraftImpl() { /** *User-defined unique identifier for the Customer. The key
field is preferred over customerNumber
as it is mutable and provides more flexibility.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.
*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java index 9a17dc76dd5..3cb126fed10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java @@ -41,6 +41,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz /** *User-defined unique identifier for the DiscountCode.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.
* @return key */ @@ -148,6 +149,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz /** *User-defined unique identifier for the DiscountCode.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.
* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java index 6ca77c24342..698edd5ea90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java @@ -64,6 +64,7 @@ public class DiscountCodeDraftBuilder implements BuilderUser-defined unique identifier for the DiscountCode.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.
* @param key value to be set * @return Builder */ @@ -391,6 +392,7 @@ public DiscountCodeDraftBuilder validUntil(@Nullable final java.time.ZonedDateTi /** *User-defined unique identifier for the DiscountCode.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.
* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java index 8a5aef4446e..bfc8a8fdf54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java @@ -87,6 +87,7 @@ public DiscountCodeDraftImpl() { /** *User-defined unique identifier for the DiscountCode.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.
*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTrigger.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTrigger.java index 846eb3ab87a..5ee809c81f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTrigger.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTrigger.java @@ -33,7 +33,7 @@ public interface ExtensionTrigger { /** - *cart
, order
, payment
, customer
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, customer-group
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, customer-group
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, customer-group
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, customer-group
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
cart
, order
, payment
, customer
, customer-group
, quote-request
, staged-quote
, quote
, business-unit
, and shopping-list
are supported.
User-defined unique identifier for the InventoryEntry.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.
* @return key */ @@ -102,6 +103,7 @@ public interface InventoryEntryDraft extends com.commercetools.api.models.Custom /** *User-defined unique identifier for the InventoryEntry.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.
* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftBuilder.java index a984996b393..773bfb4c6ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftBuilder.java @@ -57,6 +57,7 @@ public InventoryEntryDraftBuilder sku(final String sku) { /** *User-defined unique identifier for the InventoryEntry.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.
* @param key value to be set * @return Builder */ @@ -183,6 +184,7 @@ public String getSku() { /** *User-defined unique identifier for the InventoryEntry.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.
* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java index 431cbf03dc1..57448519574 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java @@ -71,6 +71,7 @@ public String getSku() { /** *User-defined unique identifier for the InventoryEntry.
+ *This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.
*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java index b66f25eb5fa..b0a06129886 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java @@ -84,7 +84,7 @@ public interface ProductData extends ProductDataLike { public LocalizedString getSlug(); /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @return metaTitle */ @Valid @@ -92,7 +92,7 @@ public interface ProductData extends ProductDataLike { public LocalizedString getMetaTitle(); /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @return metaDescription */ @Valid @@ -178,14 +178,14 @@ public interface ProductData extends ProductDataLike { public void setSlug(final LocalizedString slug); /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param metaTitle value to be set */ public void setMetaTitle(final LocalizedString metaTitle); /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @param metaDescription value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java index 120c540ccef..9f794f7dfe7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java @@ -288,7 +288,7 @@ public ProductDataBuilder slug(final com.commercetools.api.models.common.Localiz } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -300,7 +300,7 @@ public ProductDataBuilder metaTitle( } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -312,7 +312,7 @@ public ProductDataBuilder withMetaTitle( } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param metaTitle value to be set * @return Builder */ @@ -323,7 +323,7 @@ public ProductDataBuilder metaTitle(@Nullable final com.commercetools.api.models } /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @param builder function to build the metaDescription value * @return Builder */ @@ -335,7 +335,7 @@ public ProductDataBuilder metaDescription( } /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @param builder function to build the metaDescription value * @return Builder */ @@ -347,7 +347,7 @@ public ProductDataBuilder withMetaDescription( } /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @param metaDescription value to be set * @return Builder */ @@ -599,7 +599,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @return metaTitle */ @@ -609,7 +609,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
* @return metaDescription */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java index 0c08ca63dcd..7528c02e670 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java @@ -119,7 +119,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
*/ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Description of the Product displayed in search results below the meta title.
+ *Description of the Product as displayed in search engine results below the meta title.
*/ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java index 47793d3ade9..62725325940 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java @@ -70,7 +70,8 @@ public interface ProductDraft /** *User-defined unique identifier for the Product.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.
+ *To update a Product using the Import API or Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @return metaTitle */ @Valid @@ -110,7 +111,7 @@ public interface ProductDraft public LocalizedString getMetaTitle(); /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @return metaDescription */ @Valid @@ -204,7 +205,8 @@ public interface ProductDraft /** *User-defined unique identifier for the Product.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.
+ *To update a Product using the Import API or Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param metaTitle value to be set */ public void setMetaTitle(final LocalizedString metaTitle); /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @param metaDescription value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java index f1a1c517544..ceeda86f13f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java @@ -185,7 +185,8 @@ public ProductDraftBuilder slug(final com.commercetools.api.models.common.Locali /** *User-defined unique identifier for the Product.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.
+ *To update a Product using the Import API or Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -373,7 +374,7 @@ public ProductDraftBuilder metaTitle( } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -385,7 +386,7 @@ public ProductDraftBuilder withMetaTitle( } /** - *Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @param metaTitle value to be set * @return Builder */ @@ -397,7 +398,7 @@ public ProductDraftBuilder metaTitle( } /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @param builder function to build the metaDescription value * @return Builder */ @@ -409,7 +410,7 @@ public ProductDraftBuilder metaDescription( } /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @param builder function to build the metaDescription value * @return Builder */ @@ -421,7 +422,7 @@ public ProductDraftBuilder withMetaDescription( } /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @param metaDescription value to be set * @return Builder */ @@ -756,7 +757,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { /** *User-defined unique identifier for the Product.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.
+ *To update a Product using the Import API or Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
* @return metaTitle */ @@ -806,7 +808,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
* @return metaDescription */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java index e14cc44f2d7..c162e2982ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java @@ -129,7 +129,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { /** *User-defined unique identifier for the Product.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.
+ *To update a Product using the Import API or Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Title of the Product displayed in search results.
+ *Title of the Product as displayed in search engine results.
*/ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -169,7 +170,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Description of the Product displayed in search results.
+ *Description of the Product as displayed in search engine results.
*/ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java index b392c3ed18d..8cfd12f5d97 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java @@ -35,7 +35,7 @@ public interface ProductSetKeyAction extends ProductUpdateAction { /** *Value to set. If empty, any existing value will be removed.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
To update a Product using the Import API and the Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Value to set. If empty, any existing value will be removed.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
To update a Product using the Import API and the Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Value to set. If empty, any existing value will be removed.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
To update a Product using the Import API and the Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Value to set. If empty, any existing value will be removed.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
To update a Product using the Import API and the Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Value to set. If empty, any existing value will be removed.
- *To update a Product using the Import API, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
To update a Product using the Import API and the Merchant Center, the Product key
must match the pattern ^[A-Za-z0-9_-]{2,256}$
.
Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @return metaTitle */ @Valid @@ -57,7 +57,7 @@ public interface ProductTailoringData { public LocalizedString getMetaTitle(); /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @return metaDescription */ @Valid @@ -65,7 +65,7 @@ public interface ProductTailoringData { public LocalizedString getMetaDescription(); /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @return metaKeywords */ @Valid @@ -103,21 +103,21 @@ public interface ProductTailoringData { public void setDescription(final LocalizedString description); /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @param metaTitle value to be set */ public void setMetaTitle(final LocalizedString metaTitle); /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @param metaDescription value to be set */ public void setMetaDescription(final LocalizedString metaDescription); /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @param metaKeywords value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataBuilder.java index 430349ada84..41a246f35a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataBuilder.java @@ -116,7 +116,7 @@ public ProductTailoringDataBuilder description( } /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -128,7 +128,7 @@ public ProductTailoringDataBuilder metaTitle( } /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @param builder function to build the metaTitle value * @return Builder */ @@ -140,7 +140,7 @@ public ProductTailoringDataBuilder withMetaTitle( } /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @param metaTitle value to be set * @return Builder */ @@ -152,7 +152,7 @@ public ProductTailoringDataBuilder metaTitle( } /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @param builder function to build the metaDescription value * @return Builder */ @@ -164,7 +164,7 @@ public ProductTailoringDataBuilder metaDescription( } /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @param builder function to build the metaDescription value * @return Builder */ @@ -176,7 +176,7 @@ public ProductTailoringDataBuilder withMetaDescription( } /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @param metaDescription value to be set * @return Builder */ @@ -188,7 +188,7 @@ public ProductTailoringDataBuilder metaDescription( } /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @param builder function to build the metaKeywords value * @return Builder */ @@ -200,7 +200,7 @@ public ProductTailoringDataBuilder metaKeywords( } /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @param builder function to build the metaKeywords value * @return Builder */ @@ -212,7 +212,7 @@ public ProductTailoringDataBuilder withMetaKeywords( } /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @param metaKeywords value to be set * @return Builder */ @@ -372,7 +372,7 @@ public com.commercetools.api.models.common.LocalizedString getDescription() { } /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
* @return metaTitle */ @@ -382,7 +382,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
* @return metaDescription */ @@ -392,7 +392,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaDescription() } /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
* @return metaKeywords */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataImpl.java index a6b19d6ab5a..89469b9d743 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_tailoring/ProductTailoringDataImpl.java @@ -79,7 +79,7 @@ public com.commercetools.api.models.common.LocalizedString getDescription() { } /** - *Tailored title of the Product used by external search engines for improved search engine performance.
+ *Tailored title of the Product as displayed in search engine results.
*/ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -87,7 +87,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *Tailored description of the Product used by external search engines for improved search engine performance.
+ *Tailored description of the Product as displayed in search engine results.
*/ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { @@ -95,7 +95,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaDescription() } /** - *Tailored keywords related to the Product used by external search engines for improved search engine performance.
+ *Tailored keywords related to the Product that are used by search engines.
*/ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemAction.java index 6379916120d..15b643fb447 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemAction.java @@ -79,7 +79,7 @@ public interface ShoppingListAddLineItemAction extends ShoppingListUpdateAction, public Long getQuantity(); /** - *Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
+ *Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
* @return addedAt */ @@ -130,7 +130,7 @@ public interface ShoppingListAddLineItemAction extends ShoppingListUpdateAction, public void setQuantity(final Long quantity); /** - *Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
+ *Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
* @param addedAt value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionBuilder.java index 52ab052ae24..c90e127ec23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionBuilder.java @@ -100,7 +100,7 @@ public ShoppingListAddLineItemActionBuilder quantity(@Nullable final Long quanti } /** - *Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
+ *Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
* @param addedAt value to be set * @return Builder */ @@ -197,7 +197,7 @@ public Long getQuantity() { } /** - *Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
+ *Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
* @return addedAt */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java index 7bf8d6bb6ab..ae2955d99fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java @@ -113,7 +113,7 @@ public Long getQuantity() { } /** - *Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
+ *Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
*/ public java.time.ZonedDateTime getAddedAt() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestination.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestination.java index 6945b800230..b224f3a328d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestination.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestination.java @@ -24,6 +24,7 @@ * EventBridgeDestination eventBridgeDestination = EventBridgeDestination.builder() * .region("{region}") * .accountId("{accountId}") + * .source("{source}") * .build() * * @@ -53,6 +54,14 @@ public interface EventBridgeDestination extends Destination { @JsonProperty("accountId") public String getAccountId(); + /** + *URN for the EventBridge destination.
+ * @return source + */ + @NotNull + @JsonProperty("source") + public String getSource(); + /** *AWS region that receives the events.
* @param region value to be set @@ -67,6 +76,13 @@ public interface EventBridgeDestination extends Destination { public void setAccountId(final String accountId); + /** + *URN for the EventBridge destination.
+ * @param source value to be set + */ + + public void setSource(final String source); + /** * factory method * @return instance of EventBridgeDestination @@ -84,6 +100,7 @@ public static EventBridgeDestination of(final EventBridgeDestination template) { EventBridgeDestinationImpl instance = new EventBridgeDestinationImpl(); instance.setRegion(template.getRegion()); instance.setAccountId(template.getAccountId()); + instance.setSource(template.getSource()); return instance; } @@ -100,6 +117,7 @@ public static EventBridgeDestination deepCopy(@Nullable final EventBridgeDestina EventBridgeDestinationImpl instance = new EventBridgeDestinationImpl(); instance.setRegion(template.getRegion()); instance.setAccountId(template.getAccountId()); + instance.setSource(template.getSource()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationBuilder.java index 30118ba9129..04e69b84145 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationBuilder.java @@ -15,6 +15,7 @@ * EventBridgeDestination eventBridgeDestination = EventBridgeDestination.builder() * .region("{region}") * .accountId("{accountId}") + * .source("{source}") * .build() * * @@ -26,6 +27,8 @@ public class EventBridgeDestinationBuilder implements BuilderURN for the EventBridge destination.
+ * @param source value to be set + * @return Builder + */ + + public EventBridgeDestinationBuilder source(final String source) { + this.source = source; + return this; + } + /** *AWS region that receives the events.
* @return region @@ -66,6 +80,15 @@ public String getAccountId() { return this.accountId; } + /** + *URN for the EventBridge destination.
+ * @return source + */ + + public String getSource() { + return this.source; + } + /** * builds EventBridgeDestination with checking for non-null required values * @return EventBridgeDestination @@ -73,7 +96,8 @@ public String getAccountId() { public EventBridgeDestination build() { Objects.requireNonNull(region, EventBridgeDestination.class + ": region is missing"); Objects.requireNonNull(accountId, EventBridgeDestination.class + ": accountId is missing"); - return new EventBridgeDestinationImpl(region, accountId); + Objects.requireNonNull(source, EventBridgeDestination.class + ": source is missing"); + return new EventBridgeDestinationImpl(region, accountId, source); } /** @@ -81,7 +105,7 @@ public EventBridgeDestination build() { * @return EventBridgeDestination */ public EventBridgeDestination buildUnchecked() { - return new EventBridgeDestinationImpl(region, accountId); + return new EventBridgeDestinationImpl(region, accountId, source); } /** @@ -101,6 +125,7 @@ public static EventBridgeDestinationBuilder of(final EventBridgeDestination temp EventBridgeDestinationBuilder builder = new EventBridgeDestinationBuilder(); builder.region = template.getRegion(); builder.accountId = template.getAccountId(); + builder.source = template.getSource(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java index b1be1a9afe7..5b39435f430 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java @@ -28,14 +28,17 @@ public class EventBridgeDestinationImpl implements EventBridgeDestination, Model private String accountId; + private String source; + /** * create instance with all properties */ @JsonCreator EventBridgeDestinationImpl(@JsonProperty("region") final String region, - @JsonProperty("accountId") final String accountId) { + @JsonProperty("accountId") final String accountId, @JsonProperty("source") final String source) { this.region = region; this.accountId = accountId; + this.source = source; this.type = EVENT_BRIDGE; } @@ -70,6 +73,14 @@ public String getAccountId() { return this.accountId; } + /** + *URN for the EventBridge destination.
+ */ + + public String getSource() { + return this.source; + } + public void setRegion(final String region) { this.region = region; } @@ -78,6 +89,10 @@ public void setAccountId(final String accountId) { this.accountId = accountId; } + public void setSource(final String source) { + this.source = source; + } + @Override public boolean equals(Object o) { if (this == o) @@ -91,15 +106,17 @@ public boolean equals(Object o) { return new EqualsBuilder().append(type, that.type) .append(region, that.region) .append(accountId, that.accountId) + .append(source, that.source) .append(type, that.type) .append(region, that.region) .append(accountId, that.accountId) + .append(source, that.source) .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(region).append(accountId).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(region).append(accountId).append(source).toHashCode(); } @Override @@ -107,6 +124,7 @@ public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) .append("region", region) .append("accountId", accountId) + .append("source", source) .build(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceValue.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceValue.java index 2ec672dc97d..044e97a24a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceValue.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceValue.java @@ -20,6 +20,9 @@ public interface CustomFieldReferenceValue extends JsonEnum {ApprovalFlow
*/ CustomFieldReferenceValue APPROVAL_FLOW = CustomFieldReferenceValueEnum.APPROVAL_FLOW; /** +ApprovalRule
*/ + CustomFieldReferenceValue APPROVAL_RULE = CustomFieldReferenceValueEnum.APPROVAL_RULE; + /**AssociateRole
*/ CustomFieldReferenceValue ASSOCIATE_ROLE = CustomFieldReferenceValueEnum.ASSOCIATE_ROLE; /** @@ -77,6 +80,11 @@ enum CustomFieldReferenceValueEnum implements CustomFieldReferenceValue { */ APPROVAL_FLOW("approval-flow"), + /** + * approval-rule + */ + APPROVAL_RULE("approval-rule"), + /** * associate-role */ 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 6d1e97c9869..3e762b67c98 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 @@ -26,6 +26,9 @@ public interface ResourceTypeId extends JsonEnum {ApprovalFlow
*/ ResourceTypeId APPROVAL_FLOW = ResourceTypeIdEnum.APPROVAL_FLOW; /** +ApprovalRule
*/ + ResourceTypeId APPROVAL_RULE = ResourceTypeIdEnum.APPROVAL_RULE; + /**AssociateRole
*/ ResourceTypeId ASSOCIATE_ROLE = ResourceTypeIdEnum.ASSOCIATE_ROLE; /** @@ -135,6 +138,11 @@ enum ResourceTypeIdEnum implements ResourceTypeId { */ APPROVAL_FLOW("approval-flow"), + /** + * approval-rule + */ + APPROVAL_RULE("approval-rule"), + /** * associate-role */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/expansion/approval_rule/ApprovalRuleExpansionBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/expansion/approval_rule/ApprovalRuleExpansionBuilderDsl.java index 371db5b5caa..4ac7aebb89c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/expansion/approval_rule/ApprovalRuleExpansionBuilderDsl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/expansion/approval_rule/ApprovalRuleExpansionBuilderDsl.java @@ -38,4 +38,9 @@ public com.commercetools.api.predicates.expansion.common.LastModifiedByExpansion return com.commercetools.api.predicates.expansion.common.LastModifiedByExpansionBuilderDsl .of(appendOne(path, "lastModifiedBy")); } + + public com.commercetools.api.predicates.expansion.type.CustomFieldsExpansionBuilderDsl custom() { + return com.commercetools.api.predicates.expansion.type.CustomFieldsExpansionBuilderDsl + .of(appendOne(path, "custom")); + } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/approval_rule/ApprovalRuleQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/approval_rule/ApprovalRuleQueryBuilderDsl.java index 6aa42d5f5a4..2bde97b62d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/approval_rule/ApprovalRuleQueryBuilderDsl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/approval_rule/ApprovalRuleQueryBuilderDsl.java @@ -118,4 +118,13 @@ public CombinationQueryPredicate
* ModifiedBy modifiedBy = ModifiedBy.builder()
- * .id("{id}")
- * .type("{type}")
* .isPlatformClient(true)
+ * .type("{type}")
* .build()
*
* true
if the change was made using the Merchant Center or ImpEx.
ID of the Merchant Center user who made the change.
- *Present only if the change was made in the Merchant Center.
+ *Present only if isPlatformClient
is true
.
true
if the change was made using the Merchant Center or ImpEx.
ID of the Merchant Center user who made the change.
- *Present only if the change was made in the Merchant Center.
+ *Present only if isPlatformClient
is true
.
true
if the change was made using the Merchant Center or ImpEx.
* ModifiedBy modifiedBy = ModifiedBy.builder()
- * .id("{id}")
- * .type("{type}")
* .isPlatformClient(true)
+ * .type("{type}")
* .build()
*
* true
if the change was made using the Merchant Center or ImpEx.
ID of the Merchant Center user who made the change.
- *Present only if the change was made in the Merchant Center.
+ *Present only if isPlatformClient
is true
.
true
if the change was made using the Merchant Center or ImpEx.
ID of the Merchant Center user who made the change.
- *Present only if the change was made in the Merchant Center.
+ *Present only if isPlatformClient
is true
.
true
if the change was made using the Merchant Center or ImpEx.
true
if the change was made using the Merchant Center or ImpEx.
ID of the Merchant Center user who made the change.
- *Present only if the change was made in the Merchant Center.
+ *Present only if isPlatformClient
is true
.
true
if the change was made using the Merchant Center or ImpEx.
Returned when attempting to create a ProductVariant and set it as the Master Variant in the same ProductVariantImport.
+ * + *
+ * NewMasterVariantAdditionNotAllowedError newMasterVariantAdditionNotAllowedError = NewMasterVariantAdditionNotAllowedError.builder()
+ * .message("{message}")
+ * .build()
+ *
+ * "Adding a new variant as master variant is not allowed."
"Adding a new variant as master variant is not allowed."
+ * NewMasterVariantAdditionNotAllowedError newMasterVariantAdditionNotAllowedError = NewMasterVariantAdditionNotAllowedError.builder()
+ * .message("{message}")
+ * .build()
+ *
+ * "Adding a new variant as master variant is not allowed."
"Adding a new variant as master variant is not allowed."
Returned when attempting to create a ProductVariant and set it as the Master Variant in the same ProductVariantImport.
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class NewMasterVariantAdditionNotAllowedErrorImpl implements NewMasterVariantAdditionNotAllowedError, ModelBase { + + private String code; + + private String message; + + /** + * create instance with all properties + */ + @JsonCreator + NewMasterVariantAdditionNotAllowedErrorImpl(@JsonProperty("message") final String message) { + this.message = message; + this.code = NEW_MASTER_VARIANT_ADDITION_NOT_ALLOWED; + } + + /** + * create empty instance + */ + public NewMasterVariantAdditionNotAllowedErrorImpl() { + this.code = NEW_MASTER_VARIANT_ADDITION_NOT_ALLOWED; + } + + /** + * + */ + + public String getCode() { + return this.code; + } + + /** + *"Adding a new variant as master variant is not allowed."
Maps to ProductVariant.isMasterVariant
.
false
; otherwise, the import operation will fail with a NewMasterVariantAdditionNotAllowed error.true
if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.Maps to ProductVariant.isMasterVariant
.
false
; otherwise, the import operation will fail with a NewMasterVariantAdditionNotAllowed error.true
if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.Maps to ProductVariant.isMasterVariant
.
false
; otherwise, the import operation will fail with a NewMasterVariantAdditionNotAllowed error.true
if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.Maps to ProductVariant.isMasterVariant
.
false
; otherwise, the import operation will fail with a NewMasterVariantAdditionNotAllowed error.true
if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.Maps to ProductVariant.isMasterVariant
.
false
; otherwise, the import operation will fail with a NewMasterVariantAdditionNotAllowed error.true
if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.