From d95af1b966da5e58436b10ef5eb7d4bde24eca28 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:10:09 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../order/OrderSearchAnyValueBuilder.java | 4 +- .../models/order/OrderSearchAnyValueImpl.java | 2 +- .../models/order/OrderSearchCustomType.java | 2 +- .../OrderSearchDateRangeValueBuilder.java | 4 +- .../order/OrderSearchDateRangeValueImpl.java | 2 +- .../OrderSearchFullTextValueBuilder.java | 4 +- .../order/OrderSearchFullTextValueImpl.java | 2 +- .../OrderSearchLongRangeValueBuilder.java | 4 +- .../order/OrderSearchLongRangeValueImpl.java | 2 +- .../OrderSearchNumberRangeValueBuilder.java | 4 +- .../OrderSearchNumberRangeValueImpl.java | 2 +- .../OrderSearchQueryExpressionValue.java | 4 +- ...rderSearchQueryExpressionValueBuilder.java | 4 +- .../OrderSearchQueryExpressionValueImpl.java | 2 +- .../order/OrderSearchStringValueBuilder.java | 4 +- .../order/OrderSearchStringValueImpl.java | 2 +- .../ProductSearchMatchingVariantEntry.java | 8 +- ...ductSearchMatchingVariantEntryBuilder.java | 8 +- ...ProductSearchMatchingVariantEntryImpl.java | 4 +- .../ProductSearchMatchingVariants.java | 17 +++- .../ProductSearchMatchingVariantsBuilder.java | 32 +++++-- .../ProductSearchMatchingVariantsImpl.java | 7 +- .../product_search/ProductSearchRequest.java | 4 +- .../ProductSearchRequestBuilder.java | 4 +- .../ProductSearchRequestImpl.java | 2 +- .../product_search/ProductSearchResult.java | 38 ++++---- .../ProductSearchResultBuilder.java | 94 +++++++++---------- .../ProductSearchResultImpl.java | 40 ++++---- .../models/search/SearchAnyValueBuilder.java | 4 +- .../api/models/search/SearchAnyValueImpl.java | 2 +- .../search/SearchDateRangeValueBuilder.java | 4 +- .../search/SearchDateRangeValueImpl.java | 2 +- .../SearchDateTimeRangeValueBuilder.java | 4 +- .../search/SearchDateTimeRangeValueImpl.java | 2 +- .../search/SearchExactValueBuilder.java | 4 +- .../models/search/SearchExactValueImpl.java | 2 +- .../search/SearchExistsValueBuilder.java | 4 +- .../models/search/SearchExistsValueImpl.java | 2 +- .../api/models/search/SearchFieldType.java | 2 +- .../SearchFullTextPrefixValueBuilder.java | 4 +- .../search/SearchFullTextPrefixValueImpl.java | 2 +- .../search/SearchFullTextValueBuilder.java | 4 +- .../search/SearchFullTextValueImpl.java | 2 +- .../search/SearchLongRangeValueBuilder.java | 4 +- .../search/SearchLongRangeValueImpl.java | 2 +- .../search/SearchNumberRangeValueBuilder.java | 4 +- .../search/SearchNumberRangeValueImpl.java | 2 +- .../search/SearchQueryExpressionValue.java | 4 +- .../SearchQueryExpressionValueBuilder.java | 4 +- .../SearchQueryExpressionValueImpl.java | 2 +- .../search/SearchTimeRangeValueBuilder.java | 4 +- .../search/SearchTimeRangeValueImpl.java | 2 +- .../ProductSearchResultQueryBuilderDsl.java | 16 ++-- .../ProductSearchResultTest.java | 22 ++--- reference.txt | 1 + references.txt | 1 + 56 files changed, 221 insertions(+), 197 deletions(-) create mode 100644 reference.txt diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueBuilder.java index 8268674e035..927df78c522 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueBuilder.java @@ -62,7 +62,7 @@ public OrderSearchAnyValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -126,7 +126,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java index b00513a5ef3..a4c1af904cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java @@ -73,7 +73,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCustomType.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCustomType.java index 920d7d30613..1a2765ce97d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCustomType.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCustomType.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface OrderSearchCustomType extends JsonEnum { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueBuilder.java index e4870de080d..3fc6b6ba411 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueBuilder.java @@ -60,7 +60,7 @@ public OrderSearchDateRangeValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -113,7 +113,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java index a350058d1dd..4c68fee027c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java @@ -70,7 +70,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueBuilder.java index 7f59fc645e7..3385d83db37 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueBuilder.java @@ -63,7 +63,7 @@ public OrderSearchFullTextValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -128,7 +128,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java index 545a02c2dfe..7f7ce94431c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java @@ -73,7 +73,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueBuilder.java index 6a28d239f04..6877f11cd65 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueBuilder.java @@ -60,7 +60,7 @@ public OrderSearchLongRangeValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -113,7 +113,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java index 52ddb92f4af..95a8c86234d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java @@ -69,7 +69,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueBuilder.java index ec214a28470..7faa067389e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueBuilder.java @@ -60,7 +60,7 @@ public OrderSearchNumberRangeValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -113,7 +113,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java index 8bfee3c2f51..ebb24a773ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java @@ -70,7 +70,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValue.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValue.java index 7d0d03d4068..2bb7fd7d467 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValue.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValue.java @@ -48,7 +48,7 @@ public interface OrderSearchQueryExpressionValue { public Integer getBoost(); /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ @@ -70,7 +70,7 @@ public interface OrderSearchQueryExpressionValue { public void setBoost(final Integer boost); /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueBuilder.java index e81840d3e2f..ce9abe96bed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueBuilder.java @@ -54,7 +54,7 @@ public OrderSearchQueryExpressionValueBuilder boost(@Nullable final Integer boos } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -85,7 +85,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java index e0293a7edbc..4e2b236ad9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java @@ -63,7 +63,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueBuilder.java index 2aa5def26b9..d0243e2049c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueBuilder.java @@ -63,7 +63,7 @@ public OrderSearchStringValueBuilder boost(@Nullable final Integer boost) { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @param customType value to be set * @return Builder */ @@ -127,7 +127,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

* @return customType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java index c18580b5993..df1559cd272 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java @@ -73,7 +73,7 @@ public Integer getBoost() { } /** - *

Possible values for the customType property on query expressions indicating the data type of the field.

+ *

Possible values for the customType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.order.OrderSearchCustomType getCustomType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntry.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntry.java index 66ce158ad9a..254567fd0af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntry.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntry.java @@ -32,7 +32,7 @@ public interface ProductSearchMatchingVariantEntry { /** - *

Unique identifier of the variant.

+ *

id of the ProductVariant that matches the search query.

* @return id */ @NotNull @@ -40,7 +40,7 @@ public interface ProductSearchMatchingVariantEntry { public Integer getId(); /** - *

SKU of the matching variant.

+ *

sku of the ProductVariant that matches the search query.

* @return sku */ @@ -48,14 +48,14 @@ public interface ProductSearchMatchingVariantEntry { public String getSku(); /** - *

Unique identifier of the variant.

+ *

id of the ProductVariant that matches the search query.

* @param id value to be set */ public void setId(final Integer id); /** - *

SKU of the matching variant.

+ *

sku of the ProductVariant that matches the search query.

* @param sku value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryBuilder.java index 175791bf67c..9bdd7126b4c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryBuilder.java @@ -29,7 +29,7 @@ public class ProductSearchMatchingVariantEntryBuilder implements BuilderUnique identifier of the variant.

+ *

id of the ProductVariant that matches the search query.

* @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ProductSearchMatchingVariantEntryBuilder id(final Integer id) { } /** - *

SKU of the matching variant.

+ *

sku of the ProductVariant that matches the search query.

* @param sku value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ProductSearchMatchingVariantEntryBuilder sku(@Nullable final String sku) } /** - *

Unique identifier of the variant.

+ *

id of the ProductVariant that matches the search query.

* @return id */ @@ -60,7 +60,7 @@ public Integer getId() { } /** - *

SKU of the matching variant.

+ *

sku of the ProductVariant that matches the search query.

* @return sku */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryImpl.java index 7eaf81bea7b..fc9f5cd461f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantEntryImpl.java @@ -42,7 +42,7 @@ public ProductSearchMatchingVariantEntryImpl() { } /** - *

Unique identifier of the variant.

+ *

id of the ProductVariant that matches the search query.

*/ public Integer getId() { @@ -50,7 +50,7 @@ public Integer getId() { } /** - *

SKU of the matching variant.

+ *

sku of the ProductVariant that matches the search query.

*/ public String getSku() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariants.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariants.java index 1dd52a0769c..ec53c8c523f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariants.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariants.java @@ -35,7 +35,9 @@ public interface ProductSearchMatchingVariants { /** - *

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

+ *

true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

+ *

false if only a subset of the Product Variants match the search query.

+ *

Is always false for query expressions on Product Variant fields.

* @return allMatched */ @NotNull @@ -43,7 +45,8 @@ public interface ProductSearchMatchingVariants { public Boolean getAllMatched(); /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @return matchedVariants */ @NotNull @@ -52,14 +55,17 @@ public interface ProductSearchMatchingVariants { public List getMatchedVariants(); /** - *

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

+ *

true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

+ *

false if only a subset of the Product Variants match the search query.

+ *

Is always false for query expressions on Product Variant fields.

* @param allMatched value to be set */ public void setAllMatched(final Boolean allMatched); /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param matchedVariants values to be set */ @@ -67,7 +73,8 @@ public interface ProductSearchMatchingVariants { public void setMatchedVariants(final ProductSearchMatchingVariantEntry... matchedVariants); /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param matchedVariants values to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsBuilder.java index a13f275fa57..8c61649dd8a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsBuilder.java @@ -28,7 +28,9 @@ public class ProductSearchMatchingVariantsBuilder implements Builder matchedVariants; /** - *

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

+ *

true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

+ *

false if only a subset of the Product Variants match the search query.

+ *

Is always false for query expressions on Product Variant fields.

* @param allMatched value to be set * @return Builder */ @@ -39,7 +41,8 @@ public ProductSearchMatchingVariantsBuilder allMatched(final Boolean allMatched) } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param matchedVariants value to be set * @return Builder */ @@ -51,7 +54,8 @@ public ProductSearchMatchingVariantsBuilder matchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param matchedVariants value to be set * @return Builder */ @@ -63,7 +67,8 @@ public ProductSearchMatchingVariantsBuilder matchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param matchedVariants value to be set * @return Builder */ @@ -78,7 +83,8 @@ public ProductSearchMatchingVariantsBuilder plusMatchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param builder function to build the matchedVariants value * @return Builder */ @@ -95,7 +101,8 @@ public ProductSearchMatchingVariantsBuilder plusMatchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param builder function to build the matchedVariants value * @return Builder */ @@ -110,7 +117,8 @@ public ProductSearchMatchingVariantsBuilder withMatchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param builder function to build the matchedVariants value * @return Builder */ @@ -122,7 +130,8 @@ public ProductSearchMatchingVariantsBuilder addMatchedVariants( } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @param builder function to build the matchedVariants value * @return Builder */ @@ -134,7 +143,9 @@ public ProductSearchMatchingVariantsBuilder setMatchedVariants( } /** - *

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

+ *

true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

+ *

false if only a subset of the Product Variants match the search query.

+ *

Is always false for query expressions on Product Variant fields.

* @return allMatched */ @@ -143,7 +154,8 @@ public Boolean getAllMatched() { } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

* @return matchedVariants */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsImpl.java index 69e34c03bca..1c063b80dca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchMatchingVariantsImpl.java @@ -43,7 +43,9 @@ public ProductSearchMatchingVariantsImpl() { } /** - *

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

+ *

true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

+ *

false if only a subset of the Product Variants match the search query.

+ *

Is always false for query expressions on Product Variant fields.

*/ public Boolean getAllMatched() { @@ -51,7 +53,8 @@ public Boolean getAllMatched() { } /** - *

The variants matching the search criteria or empty if all matched.

+ *

Identifiers of the Product Variants that match the search query.

+ *

Empty if all Product Variants of the returned Product match.

*/ public java.util.List getMatchedVariants() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequest.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequest.java index 08a92063bf0..6f6902aa478 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequest.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequest.java @@ -66,7 +66,7 @@ public interface ProductSearchRequest { public Integer getOffset(); /** - *

The search can return Products where not all Product Variants match the search criteria. If true, the response will include a field called matchingVariants that contains the sku of Product Variants that match the search query. If the query does not specify any variant-level criteria, matchingVariants will be null signifying that all Product Variants are a match.

+ *

If query specifies an expression for a Product Variant field, set this to true to get additional information for each returned Product about which Product Variants match the search query. For details, see matching variants.

* @return markMatchingVariants */ @@ -134,7 +134,7 @@ public interface ProductSearchRequest { public void setOffset(final Integer offset); /** - *

The search can return Products where not all Product Variants match the search criteria. If true, the response will include a field called matchingVariants that contains the sku of Product Variants that match the search query. If the query does not specify any variant-level criteria, matchingVariants will be null signifying that all Product Variants are a match.

+ *

If query specifies an expression for a Product Variant field, set this to true to get additional information for each returned Product about which Product Variants match the search query. For details, see matching variants.

* @param markMatchingVariants value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestBuilder.java index e0610ca46f1..c8e6bf54592 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestBuilder.java @@ -193,7 +193,7 @@ public ProductSearchRequestBuilder offset(@Nullable final Integer offset) { } /** - *

The search can return Products where not all Product Variants match the search criteria. If true, the response will include a field called matchingVariants that contains the sku of Product Variants that match the search query. If the query does not specify any variant-level criteria, matchingVariants will be null signifying that all Product Variants are a match.

+ *

If query specifies an expression for a Product Variant field, set this to true to get additional information for each returned Product about which Product Variants match the search query. For details, see matching variants.

* @param markMatchingVariants value to be set * @return Builder */ @@ -414,7 +414,7 @@ public Integer getOffset() { } /** - *

The search can return Products where not all Product Variants match the search criteria. If true, the response will include a field called matchingVariants that contains the sku of Product Variants that match the search query. If the query does not specify any variant-level criteria, matchingVariants will be null signifying that all Product Variants are a match.

+ *

If query specifies an expression for a Product Variant field, set this to true to get additional information for each returned Product about which Product Variants match the search query. For details, see matching variants.

* @return markMatchingVariants */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestImpl.java index 9841f7f7100..a8a0f8690f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestImpl.java @@ -98,7 +98,7 @@ public Integer getOffset() { } /** - *

The search can return Products where not all Product Variants match the search criteria. If true, the response will include a field called matchingVariants that contains the sku of Product Variants that match the search query. If the query does not specify any variant-level criteria, matchingVariants will be null signifying that all Product Variants are a match.

+ *

If query specifies an expression for a Product Variant field, set this to true to get additional information for each returned Product about which Product Variants match the search query. For details, see matching variants.

*/ public Boolean getMarkMatchingVariants() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResult.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResult.java index 9ecd7ea7f20..d35b323aa8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResult.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResult.java @@ -34,7 +34,7 @@ public interface ProductSearchResult { /** - *

Unique identifier of the Product.

+ *

id of the Product that matches the search query.

* @return id */ @NotNull @@ -42,41 +42,41 @@ public interface ProductSearchResult { public String getId(); /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @return productProjection + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @return matchingVariants */ @Valid - @JsonProperty("productProjection") - public ProductProjection getProductProjection(); + @JsonProperty("matchingVariants") + public ProductSearchMatchingVariants getMatchingVariants(); /** - *

Describes the variants that matched the search criteria.

- * @return matchingVariants + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @return productProjection */ @Valid - @JsonProperty("matchingVariants") - public ProductSearchMatchingVariants getMatchingVariants(); + @JsonProperty("productProjection") + public ProductProjection getProductProjection(); /** - *

Unique identifier of the Product.

+ *

id of the Product that matches the search query.

* @param id value to be set */ public void setId(final String id); /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @param productProjection value to be set + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @param matchingVariants value to be set */ - public void setProductProjection(final ProductProjection productProjection); + public void setMatchingVariants(final ProductSearchMatchingVariants matchingVariants); /** - *

Describes the variants that matched the search criteria.

- * @param matchingVariants value to be set + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @param productProjection value to be set */ - public void setMatchingVariants(final ProductSearchMatchingVariants matchingVariants); + public void setProductProjection(final ProductProjection productProjection); /** * factory method @@ -94,8 +94,8 @@ public static ProductSearchResult of() { public static ProductSearchResult of(final ProductSearchResult template) { ProductSearchResultImpl instance = new ProductSearchResultImpl(); instance.setId(template.getId()); - instance.setProductProjection(template.getProductProjection()); instance.setMatchingVariants(template.getMatchingVariants()); + instance.setProductProjection(template.getProductProjection()); return instance; } @@ -111,10 +111,10 @@ public static ProductSearchResult deepCopy(@Nullable final ProductSearchResult t } ProductSearchResultImpl instance = new ProductSearchResultImpl(); instance.setId(template.getId()); - instance.setProductProjection( - com.commercetools.api.models.product.ProductProjection.deepCopy(template.getProductProjection())); instance.setMatchingVariants(com.commercetools.api.models.product_search.ProductSearchMatchingVariants .deepCopy(template.getMatchingVariants())); + instance.setProductProjection( + com.commercetools.api.models.product.ProductProjection.deepCopy(template.getProductProjection())); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultBuilder.java index c4dabe8d733..aeeb6e6c61c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultBuilder.java @@ -27,13 +27,13 @@ public class ProductSearchResultBuilder implements Builder private String id; @Nullable - private com.commercetools.api.models.product.ProductProjection productProjection; + private com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants; @Nullable - private com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants; + private com.commercetools.api.models.product.ProductProjection productProjection; /** - *

Unique identifier of the Product.

+ *

id of the Product that matches the search query.

* @param id value to be set * @return Builder */ @@ -44,83 +44,83 @@ public ProductSearchResultBuilder id(final String id) { } /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @param builder function to build the productProjection value + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @param builder function to build the matchingVariants value * @return Builder */ - public ProductSearchResultBuilder productProjection( - Function builder) { - this.productProjection = builder.apply(com.commercetools.api.models.product.ProductProjectionBuilder.of()) + public ProductSearchResultBuilder matchingVariants( + Function builder) { + this.matchingVariants = builder + .apply(com.commercetools.api.models.product_search.ProductSearchMatchingVariantsBuilder.of()) .build(); return this; } /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @param builder function to build the productProjection value + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @param builder function to build the matchingVariants value * @return Builder */ - public ProductSearchResultBuilder withProductProjection( - Function builder) { - this.productProjection = builder.apply(com.commercetools.api.models.product.ProductProjectionBuilder.of()); + public ProductSearchResultBuilder withMatchingVariants( + Function builder) { + this.matchingVariants = builder + .apply(com.commercetools.api.models.product_search.ProductSearchMatchingVariantsBuilder.of()); return this; } /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @param productProjection value to be set + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @param matchingVariants value to be set * @return Builder */ - public ProductSearchResultBuilder productProjection( - @Nullable final com.commercetools.api.models.product.ProductProjection productProjection) { - this.productProjection = productProjection; + public ProductSearchResultBuilder matchingVariants( + @Nullable final com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants) { + this.matchingVariants = matchingVariants; return this; } /** - *

Describes the variants that matched the search criteria.

- * @param builder function to build the matchingVariants value + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @param builder function to build the productProjection value * @return Builder */ - public ProductSearchResultBuilder matchingVariants( - Function builder) { - this.matchingVariants = builder - .apply(com.commercetools.api.models.product_search.ProductSearchMatchingVariantsBuilder.of()) + public ProductSearchResultBuilder productProjection( + Function builder) { + this.productProjection = builder.apply(com.commercetools.api.models.product.ProductProjectionBuilder.of()) .build(); return this; } /** - *

Describes the variants that matched the search criteria.

- * @param builder function to build the matchingVariants value + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @param builder function to build the productProjection value * @return Builder */ - public ProductSearchResultBuilder withMatchingVariants( - Function builder) { - this.matchingVariants = builder - .apply(com.commercetools.api.models.product_search.ProductSearchMatchingVariantsBuilder.of()); + public ProductSearchResultBuilder withProductProjection( + Function builder) { + this.productProjection = builder.apply(com.commercetools.api.models.product.ProductProjectionBuilder.of()); return this; } /** - *

Describes the variants that matched the search criteria.

- * @param matchingVariants value to be set + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @param productProjection value to be set * @return Builder */ - public ProductSearchResultBuilder matchingVariants( - @Nullable final com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants) { - this.matchingVariants = matchingVariants; + public ProductSearchResultBuilder productProjection( + @Nullable final com.commercetools.api.models.product.ProductProjection productProjection) { + this.productProjection = productProjection; return this; } /** - *

Unique identifier of the Product.

+ *

id of the Product that matches the search query.

* @return id */ @@ -129,23 +129,23 @@ public String getId() { } /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

- * @return productProjection + *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

+ * @return matchingVariants */ @Nullable - public com.commercetools.api.models.product.ProductProjection getProductProjection() { - return this.productProjection; + public com.commercetools.api.models.product_search.ProductSearchMatchingVariants getMatchingVariants() { + return this.matchingVariants; } /** - *

Describes the variants that matched the search criteria.

- * @return matchingVariants + *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

+ * @return productProjection */ @Nullable - public com.commercetools.api.models.product_search.ProductSearchMatchingVariants getMatchingVariants() { - return this.matchingVariants; + public com.commercetools.api.models.product.ProductProjection getProductProjection() { + return this.productProjection; } /** @@ -154,7 +154,7 @@ public com.commercetools.api.models.product_search.ProductSearchMatchingVariants */ public ProductSearchResult build() { Objects.requireNonNull(id, ProductSearchResult.class + ": id is missing"); - return new ProductSearchResultImpl(id, productProjection, matchingVariants); + return new ProductSearchResultImpl(id, matchingVariants, productProjection); } /** @@ -162,7 +162,7 @@ public ProductSearchResult build() { * @return ProductSearchResult */ public ProductSearchResult buildUnchecked() { - return new ProductSearchResultImpl(id, productProjection, matchingVariants); + return new ProductSearchResultImpl(id, matchingVariants, productProjection); } /** @@ -181,8 +181,8 @@ public static ProductSearchResultBuilder of() { public static ProductSearchResultBuilder of(final ProductSearchResult template) { ProductSearchResultBuilder builder = new ProductSearchResultBuilder(); builder.id = template.getId(); - builder.productProjection = template.getProductProjection(); builder.matchingVariants = template.getMatchingVariants(); + builder.productProjection = template.getProductProjection(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultImpl.java index 215507c059e..45c57d782fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchResultImpl.java @@ -24,20 +24,20 @@ public class ProductSearchResultImpl implements ProductSearchResult, ModelBase { private String id; - private com.commercetools.api.models.product.ProductProjection productProjection; - private com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants; + private com.commercetools.api.models.product.ProductProjection productProjection; + /** * create instance with all properties */ @JsonCreator ProductSearchResultImpl(@JsonProperty("id") final String id, - @JsonProperty("productProjection") final com.commercetools.api.models.product.ProductProjection productProjection, - @JsonProperty("matchingVariants") final com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants) { + @JsonProperty("matchingVariants") final com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants, + @JsonProperty("productProjection") final com.commercetools.api.models.product.ProductProjection productProjection) { this.id = id; - this.productProjection = productProjection; this.matchingVariants = matchingVariants; + this.productProjection = productProjection; } /** @@ -47,7 +47,7 @@ public ProductSearchResultImpl() { } /** - *

Unique identifier of the Product.

+ *

id of the Product that matches the search query.

*/ public String getId() { @@ -55,34 +55,34 @@ public String getId() { } /** - *

Contains Product Projection data for Products matching the projection field in the Search Products request.

+ *

Information about which Product Variants match the search query. Only present if markMatchingVariants is set to true in the ProductSearchRequest.

*/ - public com.commercetools.api.models.product.ProductProjection getProductProjection() { - return this.productProjection; + public com.commercetools.api.models.product_search.ProductSearchMatchingVariants getMatchingVariants() { + return this.matchingVariants; } /** - *

Describes the variants that matched the search criteria.

+ *

Projected data of the Product with id. Only present if data integration with Product Projection parameters is requested.

*/ - public com.commercetools.api.models.product_search.ProductSearchMatchingVariants getMatchingVariants() { - return this.matchingVariants; + public com.commercetools.api.models.product.ProductProjection getProductProjection() { + return this.productProjection; } public void setId(final String id) { this.id = id; } - public void setProductProjection(final com.commercetools.api.models.product.ProductProjection productProjection) { - this.productProjection = productProjection; - } - public void setMatchingVariants( final com.commercetools.api.models.product_search.ProductSearchMatchingVariants matchingVariants) { this.matchingVariants = matchingVariants; } + public void setProductProjection(final com.commercetools.api.models.product.ProductProjection productProjection) { + this.productProjection = productProjection; + } + @Override public boolean equals(Object o) { if (this == o) @@ -94,24 +94,24 @@ public boolean equals(Object o) { ProductSearchResultImpl that = (ProductSearchResultImpl) o; return new EqualsBuilder().append(id, that.id) - .append(productProjection, that.productProjection) .append(matchingVariants, that.matchingVariants) - .append(id, that.id) .append(productProjection, that.productProjection) + .append(id, that.id) .append(matchingVariants, that.matchingVariants) + .append(productProjection, that.productProjection) .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(id).append(productProjection).append(matchingVariants).toHashCode(); + return new HashCodeBuilder(17, 37).append(id).append(matchingVariants).append(productProjection).toHashCode(); } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) - .append("productProjection", productProjection) .append("matchingVariants", matchingVariants) + .append("productProjection", productProjection) .build(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueBuilder.java index 88b7b46c00d..ba7ed9d9b3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueBuilder.java @@ -62,7 +62,7 @@ public SearchAnyValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -126,7 +126,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueImpl.java index eb2b997bbd9..f3d6821bb49 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchAnyValueImpl.java @@ -73,7 +73,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueBuilder.java index d3b30c57c34..2474ead6c82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueBuilder.java @@ -66,7 +66,7 @@ public SearchDateRangeValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -141,7 +141,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueImpl.java index 9f155b72c4c..54a65b40678 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateRangeValueImpl.java @@ -76,7 +76,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueBuilder.java index c561e92daa0..ad903b626c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueBuilder.java @@ -66,7 +66,7 @@ public SearchDateTimeRangeValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -141,7 +141,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueImpl.java index cc11dadcb26..f673f7503b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchDateTimeRangeValueImpl.java @@ -78,7 +78,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueBuilder.java index ce2076ec2f3..2c2bff889ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueBuilder.java @@ -66,7 +66,7 @@ public SearchExactValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -166,7 +166,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueImpl.java index d6466c7a14e..247e06adab7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExactValueImpl.java @@ -78,7 +78,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueBuilder.java index 3619cf98934..1b46a6e1e4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueBuilder.java @@ -57,7 +57,7 @@ public SearchExistsValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -99,7 +99,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueImpl.java index b0913fe8f08..c0e6130c94a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchExistsValueImpl.java @@ -66,7 +66,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFieldType.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFieldType.java index 52b0b9eee88..2362afae34e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFieldType.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFieldType.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface SearchFieldType extends JsonEnum { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueBuilder.java index fc032c2ca80..707bbb1d142 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueBuilder.java @@ -62,7 +62,7 @@ public SearchFullTextPrefixValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -127,7 +127,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueImpl.java index e5f57ae0145..36b24df2671 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextPrefixValueImpl.java @@ -73,7 +73,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueBuilder.java index 73821e2f6ff..fb9520aadaf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueBuilder.java @@ -62,7 +62,7 @@ public SearchFullTextValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -127,7 +127,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueImpl.java index 9e5a382d25b..391ae8c7943 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchFullTextValueImpl.java @@ -73,7 +73,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueBuilder.java index 2ab838032c1..d13aa79e218 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueBuilder.java @@ -66,7 +66,7 @@ public SearchLongRangeValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -141,7 +141,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueImpl.java index c416557827b..dafa3ba5e44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchLongRangeValueImpl.java @@ -76,7 +76,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueBuilder.java index 147b47efc90..1d9322e8de6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueBuilder.java @@ -66,7 +66,7 @@ public SearchNumberRangeValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -141,7 +141,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueImpl.java index 907dac3368c..84a2a989113 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchNumberRangeValueImpl.java @@ -76,7 +76,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValue.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValue.java index fc91c89f980..301d43011a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValue.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValue.java @@ -48,7 +48,7 @@ public interface SearchQueryExpressionValue { public Double getBoost(); /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ @@ -70,7 +70,7 @@ public interface SearchQueryExpressionValue { public void setBoost(final Double boost); /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueBuilder.java index e2b4131cd9b..6c3b550e904 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueBuilder.java @@ -54,7 +54,7 @@ public SearchQueryExpressionValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -85,7 +85,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueImpl.java index 73c77af7d3f..601adbe9f1d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchQueryExpressionValueImpl.java @@ -62,7 +62,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueBuilder.java index 6fd9b0ee9a1..f59abc86736 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueBuilder.java @@ -66,7 +66,7 @@ public SearchTimeRangeValueBuilder boost(@Nullable final Double boost) { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @param fieldType value to be set * @return Builder */ @@ -141,7 +141,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

* @return fieldType */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueImpl.java index 52665dd9639..ec0bbdc8c36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchTimeRangeValueImpl.java @@ -76,7 +76,7 @@ public Double getBoost() { } /** - *

Possible values for the fieldType property on query expressions indicating the data type of the field.

+ *

Possible values for the fieldType property on simple expressions indicating the data type of the field.

*/ public com.commercetools.api.models.search.SearchFieldType getFieldType() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/product_search/ProductSearchResultQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/product_search/ProductSearchResultQueryBuilderDsl.java index 060762c1252..8a0a56e5ec5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/product_search/ProductSearchResultQueryBuilderDsl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/product_search/ProductSearchResultQueryBuilderDsl.java @@ -18,14 +18,6 @@ public StringComparisonPredicateBuilder id() p -> new CombinationQueryPredicate<>(p, ProductSearchResultQueryBuilderDsl::of)); } - public CombinationQueryPredicate productProjection( - Function> fn) { - return new CombinationQueryPredicate<>(ContainerQueryPredicate.of() - .parent(ConstantQueryPredicate.of().constant("productProjection")) - .inner(fn.apply(com.commercetools.api.predicates.query.product.ProductProjectionQueryBuilderDsl.of())), - ProductSearchResultQueryBuilderDsl::of); - } - public CombinationQueryPredicate matchingVariants( Function> fn) { return new CombinationQueryPredicate<>(ContainerQueryPredicate.of() @@ -36,4 +28,12 @@ public CombinationQueryPredicate matchingVar ProductSearchResultQueryBuilderDsl::of); } + public CombinationQueryPredicate productProjection( + Function> fn) { + return new CombinationQueryPredicate<>(ContainerQueryPredicate.of() + .parent(ConstantQueryPredicate.of().constant("productProjection")) + .inner(fn.apply(com.commercetools.api.predicates.query.product.ProductProjectionQueryBuilderDsl.of())), + ProductSearchResultQueryBuilderDsl::of); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/product_search/ProductSearchResultTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/product_search/ProductSearchResultTest.java index 5342205310f..741a9c73760 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/product_search/ProductSearchResultTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/product_search/ProductSearchResultTest.java @@ -25,11 +25,11 @@ public void buildUnchecked(ProductSearchResultBuilder builder) { @DataProvider public static Object[][] objectBuilder() { return new Object[][] { new Object[] { ProductSearchResult.builder().id("id") }, - new Object[] { ProductSearchResult.builder() - .productProjection(new com.commercetools.api.models.product.ProductProjectionImpl()) }, new Object[] { ProductSearchResult.builder() .matchingVariants( - new com.commercetools.api.models.product_search.ProductSearchMatchingVariantsImpl()) } }; + new com.commercetools.api.models.product_search.ProductSearchMatchingVariantsImpl()) }, + new Object[] { ProductSearchResult.builder() + .productProjection(new com.commercetools.api.models.product.ProductProjectionImpl()) } }; } @Test @@ -39,14 +39,6 @@ public void id() { Assertions.assertThat(value.getId()).isEqualTo("id"); } - @Test - public void productProjection() { - ProductSearchResult value = ProductSearchResult.of(); - value.setProductProjection(new com.commercetools.api.models.product.ProductProjectionImpl()); - Assertions.assertThat(value.getProductProjection()) - .isEqualTo(new com.commercetools.api.models.product.ProductProjectionImpl()); - } - @Test public void matchingVariants() { ProductSearchResult value = ProductSearchResult.of(); @@ -54,4 +46,12 @@ public void matchingVariants() { Assertions.assertThat(value.getMatchingVariants()) .isEqualTo(new com.commercetools.api.models.product_search.ProductSearchMatchingVariantsImpl()); } + + @Test + public void productProjection() { + ProductSearchResult value = ProductSearchResult.of(); + value.setProductProjection(new com.commercetools.api.models.product.ProductProjectionImpl()); + Assertions.assertThat(value.getProductProjection()) + .isEqualTo(new com.commercetools.api.models.product.ProductProjectionImpl()); + } } diff --git a/reference.txt b/reference.txt new file mode 100644 index 00000000000..2466c64b074 --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +f28a1461a4122eed74c423156f1969ba204e6948 diff --git a/references.txt b/references.txt index 4b8be8bba41..8662ecbbd26 100644 --- a/references.txt +++ b/references.txt @@ -362,3 +362,4 @@ e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a 2cad0e3daf32cb4eacc6b08feef37acb27065b0b 64c89a7773b97bd6425a82d7d8cee1a9f0f3e6e2 f28a1461a4122eed74c423156f1969ba204e6948 +e18cd8073ea975fe92c1bad4dea957b16ee0b1c4