For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates values to be set
*/
@@ -140,7 +140,7 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftFor countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates values to be set
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftBuilder.java
index 53f9e6fa050..fce4635de68 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftBuilder.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftBuilder.java
@@ -104,7 +104,7 @@ public ExternalTaxRateDraftBuilder state(@Nullable final String state) {
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -116,7 +116,7 @@ public ExternalTaxRateDraftBuilder subRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -128,7 +128,7 @@ public ExternalTaxRateDraftBuilder subRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -143,7 +143,7 @@ public ExternalTaxRateDraftBuilder plusSubRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -158,7 +158,7 @@ public ExternalTaxRateDraftBuilder plusSubRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -171,7 +171,7 @@ public ExternalTaxRateDraftBuilder withSubRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -182,7 +182,7 @@ public ExternalTaxRateDraftBuilder addSubRates(
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -248,7 +248,7 @@ public String getState() {
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @return subRates
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java
index a1b2ead99e3..bd4f81d54af 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java
@@ -104,7 +104,7 @@ public String getState() {
}
/**
- * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
+ * For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
*/
public java.util.List getSubRates() {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java
index 085ba6091a4..53c53d530d6 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java
@@ -60,7 +60,7 @@ public interface TaxRate {
public String getName();
/**
- * Tax rate. If subrates are used, the amount must be the sum of all subrates.
+ * Tax rate. If subrates are used, the amount is the sum of all rates in subRates
.
* @return amount
*/
@NotNull
@@ -92,7 +92,7 @@ public interface TaxRate {
public String getState();
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @return subRates
*/
@Valid
@@ -121,7 +121,7 @@ public interface TaxRate {
public void setName(final String name);
/**
- * Tax rate. If subrates are used, the amount must be the sum of all subrates.
+ * Tax rate. If subrates are used, the amount is the sum of all rates in subRates
.
* @param amount value to be set
*/
@@ -149,7 +149,7 @@ public interface TaxRate {
public void setState(final String state);
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param subRates values to be set
*/
@@ -157,7 +157,7 @@ public interface TaxRate {
public void setSubRates(final SubRate... subRates);
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param subRates values to be set
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java
index 3fac615be84..c7ecfe03530 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java
@@ -81,7 +81,7 @@ public TaxRateBuilder name(final String name) {
}
/**
- * Tax rate. If subrates are used, the amount must be the sum of all subrates.
+ * Tax rate. If subrates are used, the amount is the sum of all rates in subRates
.
* @param amount value to be set
* @return Builder
*/
@@ -125,7 +125,7 @@ public TaxRateBuilder state(@Nullable final String state) {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -136,7 +136,7 @@ public TaxRateBuilder subRates(@Nullable final com.commercetools.api.models.tax_
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -148,7 +148,7 @@ public TaxRateBuilder subRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -162,7 +162,7 @@ public TaxRateBuilder plusSubRates(@Nullable final com.commercetools.api.models.
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -177,7 +177,7 @@ public TaxRateBuilder plusSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -190,7 +190,7 @@ public TaxRateBuilder withSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -201,7 +201,7 @@ public TaxRateBuilder addSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -241,7 +241,7 @@ public String getName() {
}
/**
- * Tax rate. If subrates are used, the amount must be the sum of all subrates.
+ * Tax rate. If subrates are used, the amount is the sum of all rates in subRates
.
* @return amount
*/
@@ -278,7 +278,7 @@ public String getState() {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
* @return subRates
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java
index 62150d28918..b106ac41eba 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java
@@ -75,7 +75,7 @@ public interface TaxRateDraft extends io.vrap.rmf.base.client.DraftUsed to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @return subRates
*/
@Valid
@@ -126,7 +126,7 @@ public interface TaxRateDraft extends io.vrap.rmf.base.client.DraftUsed to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates values to be set
*/
@@ -134,7 +134,7 @@ public interface TaxRateDraft extends io.vrap.rmf.base.client.DraftUsed to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates values to be set
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java
index 2da0ec54ee6..b6f64f0f9bf 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java
@@ -100,7 +100,7 @@ public TaxRateDraftBuilder state(@Nullable final String state) {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -111,7 +111,7 @@ public TaxRateDraftBuilder subRates(@Nullable final com.commercetools.api.models
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -123,7 +123,7 @@ public TaxRateDraftBuilder subRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param subRates value to be set
* @return Builder
*/
@@ -138,7 +138,7 @@ public TaxRateDraftBuilder plusSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -153,7 +153,7 @@ public TaxRateDraftBuilder plusSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -166,7 +166,7 @@ public TaxRateDraftBuilder withSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -177,7 +177,7 @@ public TaxRateDraftBuilder addSubRates(
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @param builder function to build the subRates value
* @return Builder
*/
@@ -246,7 +246,7 @@ public String getState() {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
* @return subRates
*/
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java
index 8c947cc346c..29ae8563eae 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java
@@ -101,7 +101,7 @@ public String getState() {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
*/
public java.util.List getSubRates() {
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java
index 41d8d04f13b..ba135242b88 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java
@@ -88,7 +88,7 @@ public String getName() {
}
/**
- * Tax rate. If subrates are used, the amount must be the sum of all subrates.
+ * Tax rate. If subrates are used, the amount is the sum of all rates in subRates
.
*/
public Double getAmount() {
@@ -120,7 +120,7 @@ public String getState() {
}
/**
- * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
+ * Used to calculate the taxPortions field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate amount
.
*/
public java.util.List getSubRates() {
diff --git a/references.txt b/references.txt
index fe417c76ed2..1036796ce51 100644
--- a/references.txt
+++ b/references.txt
@@ -164,3 +164,4 @@ dafb565c9cf91bdaad65bf8111c8748b0015184c
c633a41c164e2dbf2201dd9856c18d5336b0ac5d
70d15e13efcbf54dd231b1f2cfbec50da95de1a3
8f05884799f311b3f09307fb57c2846383c96371
+de39b32f1f157ed82869e1c07c1963615d571f87
From ad929907be09e5ba7992f11770982495889ca2f0 Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Thu, 21 Dec 2023 13:47:51 +0000
Subject: [PATCH 4/9] build(codegen): updating SDK
---
changes.md | 8 ++
.../api/models/error/ErrorObject.java | 13 --
.../api/models/error/ErrorObjectBuilder.java | 4 -
.../api/models/error/GraphQLErrorObject.java | 13 --
.../error/GraphQLErrorObjectBuilder.java | 4 -
.../models/error/GraphQLNotEnabledError.java | 118 ---------------
.../error/GraphQLNotEnabledErrorBuilder.java | 95 ------------
.../error/GraphQLNotEnabledErrorImpl.java | 97 -------------
.../api/models/error/NotEnabledError.java | 136 ------------------
.../models/error/NotEnabledErrorBuilder.java | 120 ----------------
.../api/models/error/NotEnabledErrorImpl.java | 116 ---------------
.../error/ErrorObjectQueryBuilderDsl.java | 7 -
.../GraphQLErrorObjectQueryBuilderDsl.java | 7 -
...GraphQLNotEnabledErrorQueryBuilderDsl.java | 20 ---
.../error/NotEnabledErrorQueryBuilderDsl.java | 26 ----
.../error/GraphQLNotEnabledErrorTest.java | 13 --
.../api/models/error/NotEnabledErrorTest.java | 36 -----
references.txt | 1 +
18 files changed, 9 insertions(+), 825 deletions(-)
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledError.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorBuilder.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledError.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorBuilder.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLNotEnabledErrorQueryBuilderDsl.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/NotEnabledErrorQueryBuilderDsl.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorTest.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/NotEnabledErrorTest.java
diff --git a/changes.md b/changes.md
index a6af6db8a93..7c23c488ed1 100644
--- a/changes.md
+++ b/changes.md
@@ -8,6 +8,14 @@
- added enum `cart-discount` to type `AttributeReferenceTypeId`
+
+
+Removed Type(s)
+
+- :warning: removed type `NotEnabledError`
+- :warning: removed type `GraphQLNotEnabledError`
+
+
**History changes**
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObject.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObject.java
index 189bc7d2b74..e96cdb863dc 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObject.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObject.java
@@ -79,7 +79,6 @@
@JsonSubTypes.Type(value = com.commercetools.api.models.error.MissingTaxRateForCountryErrorImpl.class, name = MissingTaxRateForCountryError.MISSING_TAX_RATE_FOR_COUNTRY),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.MoneyOverflowErrorImpl.class, name = MoneyOverflowError.MONEY_OVERFLOW),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.NoMatchingProductDiscountFoundErrorImpl.class, name = NoMatchingProductDiscountFoundError.NO_MATCHING_PRODUCT_DISCOUNT_FOUND),
- @JsonSubTypes.Type(value = com.commercetools.api.models.error.NotEnabledErrorImpl.class, name = NotEnabledError.NOT_ENABLED),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.ObjectNotFoundErrorImpl.class, name = ObjectNotFoundError.OBJECT_NOT_FOUND),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.OutOfStockErrorImpl.class, name = OutOfStockError.OUT_OF_STOCK),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.OverCapacityErrorImpl.class, name = OverCapacityError.OVER_CAPACITY),
@@ -363,10 +362,6 @@ public static ErrorObject deepCopy(@Nullable final ErrorObject template) {
return com.commercetools.api.models.error.NoMatchingProductDiscountFoundError
.deepCopy((com.commercetools.api.models.error.NoMatchingProductDiscountFoundError) template);
}
- if (template instanceof com.commercetools.api.models.error.NotEnabledError) {
- return com.commercetools.api.models.error.NotEnabledError
- .deepCopy((com.commercetools.api.models.error.NotEnabledError) template);
- }
if (template instanceof com.commercetools.api.models.error.ObjectNotFoundError) {
return com.commercetools.api.models.error.ObjectNotFoundError
.deepCopy((com.commercetools.api.models.error.ObjectNotFoundError) template);
@@ -877,14 +872,6 @@ public static com.commercetools.api.models.error.NoMatchingProductDiscountFoundE
return com.commercetools.api.models.error.NoMatchingProductDiscountFoundErrorBuilder.of();
}
- /**
- * builder for notEnabled subtype
- * @return builder
- */
- public static com.commercetools.api.models.error.NotEnabledErrorBuilder notEnabledBuilder() {
- return com.commercetools.api.models.error.NotEnabledErrorBuilder.of();
- }
-
/**
* builder for objectNotFound subtype
* @return builder
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectBuilder.java
index f8a44197dcc..8035fa4598e 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectBuilder.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectBuilder.java
@@ -215,10 +215,6 @@ public com.commercetools.api.models.error.NoMatchingProductDiscountFoundErrorBui
return com.commercetools.api.models.error.NoMatchingProductDiscountFoundErrorBuilder.of();
}
- public com.commercetools.api.models.error.NotEnabledErrorBuilder notEnabledBuilder() {
- return com.commercetools.api.models.error.NotEnabledErrorBuilder.of();
- }
-
public com.commercetools.api.models.error.ObjectNotFoundErrorBuilder objectNotFoundBuilder() {
return com.commercetools.api.models.error.ObjectNotFoundErrorBuilder.of();
}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObject.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObject.java
index 656ac28416a..540c7ca722f 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObject.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObject.java
@@ -77,7 +77,6 @@
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLMissingTaxRateForCountryErrorImpl.class, name = GraphQLMissingTaxRateForCountryError.MISSING_TAX_RATE_FOR_COUNTRY),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLMoneyOverflowErrorImpl.class, name = GraphQLMoneyOverflowError.MONEY_OVERFLOW),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundErrorImpl.class, name = GraphQLNoMatchingProductDiscountFoundError.NO_MATCHING_PRODUCT_DISCOUNT_FOUND),
- @JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLNotEnabledErrorImpl.class, name = GraphQLNotEnabledError.NOT_ENABLED),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLObjectNotFoundErrorImpl.class, name = GraphQLObjectNotFoundError.OBJECT_NOT_FOUND),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLOutOfStockErrorImpl.class, name = GraphQLOutOfStockError.OUT_OF_STOCK),
@JsonSubTypes.Type(value = com.commercetools.api.models.error.GraphQLOverCapacityErrorImpl.class, name = GraphQLOverCapacityError.OVER_CAPACITY),
@@ -346,10 +345,6 @@ public static GraphQLErrorObject deepCopy(@Nullable final GraphQLErrorObject tem
return com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundError
.deepCopy((com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundError) template);
}
- if (template instanceof com.commercetools.api.models.error.GraphQLNotEnabledError) {
- return com.commercetools.api.models.error.GraphQLNotEnabledError
- .deepCopy((com.commercetools.api.models.error.GraphQLNotEnabledError) template);
- }
if (template instanceof com.commercetools.api.models.error.GraphQLObjectNotFoundError) {
return com.commercetools.api.models.error.GraphQLObjectNotFoundError
.deepCopy((com.commercetools.api.models.error.GraphQLObjectNotFoundError) template);
@@ -859,14 +854,6 @@ public static com.commercetools.api.models.error.GraphQLNoMatchingProductDiscoun
return com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundErrorBuilder.of();
}
- /**
- * builder for notEnabled subtype
- * @return builder
- */
- public static com.commercetools.api.models.error.GraphQLNotEnabledErrorBuilder notEnabledBuilder() {
- return com.commercetools.api.models.error.GraphQLNotEnabledErrorBuilder.of();
- }
-
/**
* builder for objectNotFound subtype
* @return builder
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectBuilder.java
index fa030d9c7e7..90c26e39b08 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectBuilder.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectBuilder.java
@@ -215,10 +215,6 @@ public com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundE
return com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundErrorBuilder.of();
}
- public com.commercetools.api.models.error.GraphQLNotEnabledErrorBuilder notEnabledBuilder() {
- return com.commercetools.api.models.error.GraphQLNotEnabledErrorBuilder.of();
- }
-
public com.commercetools.api.models.error.GraphQLObjectNotFoundErrorBuilder objectNotFoundBuilder() {
return com.commercetools.api.models.error.GraphQLObjectNotFoundErrorBuilder.of();
}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledError.java
deleted file mode 100644
index 98ccb3b670f..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledError.java
+++ /dev/null
@@ -1,118 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import java.time.*;
-import java.util.*;
-import java.util.function.Function;
-
-import javax.annotation.Nullable;
-import javax.validation.constraints.NotNull;
-
-import com.fasterxml.jackson.annotation.*;
-import com.fasterxml.jackson.databind.annotation.*;
-
-import io.vrap.rmf.base.client.utils.Generated;
-
-/**
- * Returned when the Project-specific category recommendations feature is not enabled for the Project.
- *
- *
- * Example to create an instance using the builder pattern
- *
- *
- * GraphQLNotEnabledError graphQLNotEnabledError = GraphQLNotEnabledError.builder()
- * .build()
- *
- *
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-@JsonDeserialize(as = GraphQLNotEnabledErrorImpl.class)
-public interface GraphQLNotEnabledError extends GraphQLErrorObject {
-
- /**
- * discriminator value for GraphQLNotEnabledError
- */
- String NOT_ENABLED = "NotEnabled";
-
- /**
- *
- * @return code
- */
- @NotNull
- @JsonProperty("code")
- public String getCode();
-
- /**
- * factory method
- * @return instance of GraphQLNotEnabledError
- */
- public static GraphQLNotEnabledError of() {
- return new GraphQLNotEnabledErrorImpl();
- }
-
- /**
- * factory method to create a shallow copy GraphQLNotEnabledError
- * @param template instance to be copied
- * @return copy instance
- */
- public static GraphQLNotEnabledError of(final GraphQLNotEnabledError template) {
- GraphQLNotEnabledErrorImpl instance = new GraphQLNotEnabledErrorImpl();
- Optional.ofNullable(template.values()).ifPresent(t -> t.forEach(instance::setValue));
- return instance;
- }
-
- /**
- * factory method to create a deep copy of GraphQLNotEnabledError
- * @param template instance to be copied
- * @return copy instance
- */
- @Nullable
- public static GraphQLNotEnabledError deepCopy(@Nullable final GraphQLNotEnabledError template) {
- if (template == null) {
- return null;
- }
- GraphQLNotEnabledErrorImpl instance = new GraphQLNotEnabledErrorImpl();
- Optional.ofNullable(template.values()).ifPresent(t -> t.forEach(instance::setValue));
- return instance;
- }
-
- /**
- * builder factory method for GraphQLNotEnabledError
- * @return builder
- */
- public static GraphQLNotEnabledErrorBuilder builder() {
- return GraphQLNotEnabledErrorBuilder.of();
- }
-
- /**
- * create builder for GraphQLNotEnabledError instance
- * @param template instance with prefilled values for the builder
- * @return builder
- */
- public static GraphQLNotEnabledErrorBuilder builder(final GraphQLNotEnabledError template) {
- return GraphQLNotEnabledErrorBuilder.of(template);
- }
-
- /**
- * accessor map function
- * @param mapped type
- * @param helper function to map the object
- * @return mapped value
- */
- default T withGraphQLNotEnabledError(Function helper) {
- return helper.apply(this);
- }
-
- /**
- * gives a TypeReference for usage with Jackson DataBind
- * @return TypeReference
- */
- public static com.fasterxml.jackson.core.type.TypeReference typeReference() {
- return new com.fasterxml.jackson.core.type.TypeReference() {
- @Override
- public String toString() {
- return "TypeReference";
- }
- };
- }
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorBuilder.java
deleted file mode 100644
index 19add0cb2f5..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorBuilder.java
+++ /dev/null
@@ -1,95 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import java.util.*;
-
-import io.vrap.rmf.base.client.Builder;
-import io.vrap.rmf.base.client.utils.Generated;
-
-/**
- * GraphQLNotEnabledErrorBuilder
- *
- * Example to create an instance using the builder pattern
- *
- *
- * GraphQLNotEnabledError graphQLNotEnabledError = GraphQLNotEnabledError.builder()
- * .build()
- *
- *
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-public class GraphQLNotEnabledErrorBuilder implements Builder {
-
- private Map values = new HashMap<>();
-
- /**
- * Error-specific additional fields.
- * @param values properties to be set
- * @return Builder
- */
-
- public GraphQLNotEnabledErrorBuilder values(final Map values) {
- this.values = values;
- return this;
- }
-
- /**
- * Error-specific additional fields.
- * @param key property name
- * @param value property value
- * @return Builder
- */
-
- public GraphQLNotEnabledErrorBuilder addValue(final String key, final java.lang.Object value) {
- if (this.values == null) {
- values = new HashMap<>();
- }
- values.put(key, value);
- return this;
- }
-
- /**
- * Error-specific additional fields.
- * @return pattern properties
- */
-
- public Map getValues() {
- return this.values;
- }
-
- /**
- * builds GraphQLNotEnabledError with checking for non-null required values
- * @return GraphQLNotEnabledError
- */
- public GraphQLNotEnabledError build() {
- return new GraphQLNotEnabledErrorImpl(values);
- }
-
- /**
- * builds GraphQLNotEnabledError without checking for non-null required values
- * @return GraphQLNotEnabledError
- */
- public GraphQLNotEnabledError buildUnchecked() {
- return new GraphQLNotEnabledErrorImpl(values);
- }
-
- /**
- * factory method for an instance of GraphQLNotEnabledErrorBuilder
- * @return builder
- */
- public static GraphQLNotEnabledErrorBuilder of() {
- return new GraphQLNotEnabledErrorBuilder();
- }
-
- /**
- * create builder for GraphQLNotEnabledError instance
- * @param template instance with prefilled values for the builder
- * @return builder
- */
- public static GraphQLNotEnabledErrorBuilder of(final GraphQLNotEnabledError template) {
- GraphQLNotEnabledErrorBuilder builder = new GraphQLNotEnabledErrorBuilder();
- builder.values = template.values();
- return builder;
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java
deleted file mode 100644
index c5ee495ca54..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java
+++ /dev/null
@@ -1,97 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-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;
-
-/**
- * Returned when the Project-specific category recommendations feature is not enabled for the Project.
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-public class GraphQLNotEnabledErrorImpl implements GraphQLNotEnabledError, ModelBase {
-
- private String code;
-
- private Map values;
-
- /**
- * create instance with all properties
- */
- @JsonCreator
- GraphQLNotEnabledErrorImpl(@JsonProperty("values") final Map values) {
- this.values = values;
- this.code = NOT_ENABLED;
- }
-
- /**
- * create empty instance
- */
- public GraphQLNotEnabledErrorImpl() {
- this.code = NOT_ENABLED;
- }
-
- /**
- *
- */
-
- public String getCode() {
- return this.code;
- }
-
- /**
- * Error-specific additional fields.
- */
-
- public Map values() {
- return values;
- }
-
- public void setValue(String key, java.lang.Object value) {
- if (values == null) {
- values = new HashMap<>();
- }
- values.put(key, value);
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o)
- return true;
-
- if (o == null || getClass() != o.getClass())
- return false;
-
- GraphQLNotEnabledErrorImpl that = (GraphQLNotEnabledErrorImpl) o;
-
- return new EqualsBuilder().append(code, that.code)
- .append(values, that.values)
- .append(code, that.code)
- .append(values, that.values)
- .isEquals();
- }
-
- @Override
- public int hashCode() {
- return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode();
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code)
- .append("values", values)
- .build();
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledError.java
deleted file mode 100644
index 325d14ecf46..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledError.java
+++ /dev/null
@@ -1,136 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import java.time.*;
-import java.util.*;
-import java.util.function.Function;
-
-import javax.annotation.Nullable;
-import javax.validation.constraints.NotNull;
-
-import com.fasterxml.jackson.annotation.*;
-import com.fasterxml.jackson.databind.annotation.*;
-
-import io.vrap.rmf.base.client.utils.Generated;
-
-/**
- * Returned when the Project-specific category recommendations feature is not enabled for the Project.
- *
- *
- * Example to create an instance using the builder pattern
- *
- *
- * NotEnabledError notEnabledError = NotEnabledError.builder()
- * .message("{message}")
- * .build()
- *
- *
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-@JsonDeserialize(as = NotEnabledErrorImpl.class)
-public interface NotEnabledError extends ErrorObject {
-
- /**
- * discriminator value for NotEnabledError
- */
- String NOT_ENABLED = "NotEnabled";
-
- /**
- *
- * @return code
- */
- @NotNull
- @JsonProperty("code")
- public String getCode();
-
- /**
- * "The category recommendations API is not yet enabled for your project."
- * @return message
- */
- @NotNull
- @JsonProperty("message")
- public String getMessage();
-
- /**
- * "The category recommendations API is not yet enabled for your project."
- * @param message value to be set
- */
-
- public void setMessage(final String message);
-
- /**
- * factory method
- * @return instance of NotEnabledError
- */
- public static NotEnabledError of() {
- return new NotEnabledErrorImpl();
- }
-
- /**
- * factory method to create a shallow copy NotEnabledError
- * @param template instance to be copied
- * @return copy instance
- */
- public static NotEnabledError of(final NotEnabledError template) {
- NotEnabledErrorImpl instance = new NotEnabledErrorImpl();
- instance.setMessage(template.getMessage());
- Optional.ofNullable(template.values()).ifPresent(t -> t.forEach(instance::setValue));
- return instance;
- }
-
- /**
- * factory method to create a deep copy of NotEnabledError
- * @param template instance to be copied
- * @return copy instance
- */
- @Nullable
- public static NotEnabledError deepCopy(@Nullable final NotEnabledError template) {
- if (template == null) {
- return null;
- }
- NotEnabledErrorImpl instance = new NotEnabledErrorImpl();
- instance.setMessage(template.getMessage());
- Optional.ofNullable(template.values()).ifPresent(t -> t.forEach(instance::setValue));
- return instance;
- }
-
- /**
- * builder factory method for NotEnabledError
- * @return builder
- */
- public static NotEnabledErrorBuilder builder() {
- return NotEnabledErrorBuilder.of();
- }
-
- /**
- * create builder for NotEnabledError instance
- * @param template instance with prefilled values for the builder
- * @return builder
- */
- public static NotEnabledErrorBuilder builder(final NotEnabledError template) {
- return NotEnabledErrorBuilder.of(template);
- }
-
- /**
- * accessor map function
- * @param mapped type
- * @param helper function to map the object
- * @return mapped value
- */
- default T withNotEnabledError(Function helper) {
- return helper.apply(this);
- }
-
- /**
- * gives a TypeReference for usage with Jackson DataBind
- * @return TypeReference
- */
- public static com.fasterxml.jackson.core.type.TypeReference typeReference() {
- return new com.fasterxml.jackson.core.type.TypeReference() {
- @Override
- public String toString() {
- return "TypeReference";
- }
- };
- }
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorBuilder.java
deleted file mode 100644
index 71e313e2acc..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorBuilder.java
+++ /dev/null
@@ -1,120 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import java.util.*;
-
-import io.vrap.rmf.base.client.Builder;
-import io.vrap.rmf.base.client.utils.Generated;
-
-/**
- * NotEnabledErrorBuilder
- *
- * Example to create an instance using the builder pattern
- *
- *
- * NotEnabledError notEnabledError = NotEnabledError.builder()
- * .message("{message}")
- * .build()
- *
- *
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-public class NotEnabledErrorBuilder implements Builder {
-
- private String message;
-
- private Map values = new HashMap<>();
-
- /**
- * "The category recommendations API is not yet enabled for your project."
- * @param message value to be set
- * @return Builder
- */
-
- public NotEnabledErrorBuilder message(final String message) {
- this.message = message;
- return this;
- }
-
- /**
- * Error-specific additional fields.
- * @param values properties to be set
- * @return Builder
- */
-
- public NotEnabledErrorBuilder values(final Map values) {
- this.values = values;
- return this;
- }
-
- /**
- * Error-specific additional fields.
- * @param key property name
- * @param value property value
- * @return Builder
- */
-
- public NotEnabledErrorBuilder addValue(final String key, final java.lang.Object value) {
- if (this.values == null) {
- values = new HashMap<>();
- }
- values.put(key, value);
- return this;
- }
-
- /**
- * "The category recommendations API is not yet enabled for your project."
- * @return message
- */
-
- public String getMessage() {
- return this.message;
- }
-
- /**
- * Error-specific additional fields.
- * @return pattern properties
- */
-
- public Map getValues() {
- return this.values;
- }
-
- /**
- * builds NotEnabledError with checking for non-null required values
- * @return NotEnabledError
- */
- public NotEnabledError build() {
- Objects.requireNonNull(message, NotEnabledError.class + ": message is missing");
- return new NotEnabledErrorImpl(message, values);
- }
-
- /**
- * builds NotEnabledError without checking for non-null required values
- * @return NotEnabledError
- */
- public NotEnabledError buildUnchecked() {
- return new NotEnabledErrorImpl(message, values);
- }
-
- /**
- * factory method for an instance of NotEnabledErrorBuilder
- * @return builder
- */
- public static NotEnabledErrorBuilder of() {
- return new NotEnabledErrorBuilder();
- }
-
- /**
- * create builder for NotEnabledError instance
- * @param template instance with prefilled values for the builder
- * @return builder
- */
- public static NotEnabledErrorBuilder of(final NotEnabledError template) {
- NotEnabledErrorBuilder builder = new NotEnabledErrorBuilder();
- builder.message = template.getMessage();
- builder.values = template.values();
- return builder;
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java
deleted file mode 100644
index 1d2fb6eae65..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-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;
-
-/**
- * Returned when the Project-specific category recommendations feature is not enabled for the Project.
- */
-@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
-public class NotEnabledErrorImpl implements NotEnabledError, ModelBase {
-
- private String code;
-
- private String message;
-
- private Map values;
-
- /**
- * create instance with all properties
- */
- @JsonCreator
- NotEnabledErrorImpl(@JsonProperty("message") final String message,
- @JsonProperty("values") final Map values) {
- this.message = message;
- this.values = values;
- this.code = NOT_ENABLED;
- }
-
- /**
- * create empty instance
- */
- public NotEnabledErrorImpl() {
- this.code = NOT_ENABLED;
- }
-
- /**
- *
- */
-
- public String getCode() {
- return this.code;
- }
-
- /**
- * "The category recommendations API is not yet enabled for your project."
- */
-
- public String getMessage() {
- return this.message;
- }
-
- /**
- * Error-specific additional fields.
- */
-
- public Map values() {
- return values;
- }
-
- public void setMessage(final String message) {
- this.message = message;
- }
-
- public void setValue(String key, java.lang.Object value) {
- if (values == null) {
- values = new HashMap<>();
- }
- values.put(key, value);
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o)
- return true;
-
- if (o == null || getClass() != o.getClass())
- return false;
-
- NotEnabledErrorImpl that = (NotEnabledErrorImpl) o;
-
- return new EqualsBuilder().append(code, that.code)
- .append(message, that.message)
- .append(values, that.values)
- .append(code, that.code)
- .append(message, that.message)
- .append(values, that.values)
- .isEquals();
- }
-
- @Override
- public int hashCode() {
- return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode();
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code)
- .append("message", message)
- .append("values", values)
- .build();
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/ErrorObjectQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/ErrorObjectQueryBuilderDsl.java
index 28ebdf84a6b..5880859c41a 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/ErrorObjectQueryBuilderDsl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/ErrorObjectQueryBuilderDsl.java
@@ -388,13 +388,6 @@ public CombinationQueryPredicate asNoMatchingProduct
ErrorObjectQueryBuilderDsl::of);
}
- public CombinationQueryPredicate asNotEnabled(
- Function> fn) {
- return new CombinationQueryPredicate<>(
- fn.apply(com.commercetools.api.predicates.query.error.NotEnabledErrorQueryBuilderDsl.of()),
- ErrorObjectQueryBuilderDsl::of);
- }
-
public CombinationQueryPredicate asObjectNotFound(
Function> fn) {
return new CombinationQueryPredicate<>(
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLErrorObjectQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLErrorObjectQueryBuilderDsl.java
index a1f0bb3f482..9b8e7f31079 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLErrorObjectQueryBuilderDsl.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLErrorObjectQueryBuilderDsl.java
@@ -394,13 +394,6 @@ public CombinationQueryPredicate asNoMatching
GraphQLErrorObjectQueryBuilderDsl::of);
}
- public CombinationQueryPredicate asNotEnabled(
- Function> fn) {
- return new CombinationQueryPredicate<>(
- fn.apply(com.commercetools.api.predicates.query.error.GraphQLNotEnabledErrorQueryBuilderDsl.of()),
- GraphQLErrorObjectQueryBuilderDsl::of);
- }
-
public CombinationQueryPredicate asObjectNotFound(
Function> fn) {
return new CombinationQueryPredicate<>(
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLNotEnabledErrorQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLNotEnabledErrorQueryBuilderDsl.java
deleted file mode 100644
index 5787a5ba45c..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/GraphQLNotEnabledErrorQueryBuilderDsl.java
+++ /dev/null
@@ -1,20 +0,0 @@
-
-package com.commercetools.api.predicates.query.error;
-
-import com.commercetools.api.predicates.query.*;
-
-public class GraphQLNotEnabledErrorQueryBuilderDsl {
- public GraphQLNotEnabledErrorQueryBuilderDsl() {
- }
-
- public static GraphQLNotEnabledErrorQueryBuilderDsl of() {
- return new GraphQLNotEnabledErrorQueryBuilderDsl();
- }
-
- public StringComparisonPredicateBuilder code() {
- return new StringComparisonPredicateBuilder<>(
- BinaryQueryPredicate.of().left(new ConstantQueryPredicate("code")),
- p -> new CombinationQueryPredicate<>(p, GraphQLNotEnabledErrorQueryBuilderDsl::of));
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/NotEnabledErrorQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/NotEnabledErrorQueryBuilderDsl.java
deleted file mode 100644
index acef64dba62..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/error/NotEnabledErrorQueryBuilderDsl.java
+++ /dev/null
@@ -1,26 +0,0 @@
-
-package com.commercetools.api.predicates.query.error;
-
-import com.commercetools.api.predicates.query.*;
-
-public class NotEnabledErrorQueryBuilderDsl {
- public NotEnabledErrorQueryBuilderDsl() {
- }
-
- public static NotEnabledErrorQueryBuilderDsl of() {
- return new NotEnabledErrorQueryBuilderDsl();
- }
-
- public StringComparisonPredicateBuilder code() {
- return new StringComparisonPredicateBuilder<>(
- BinaryQueryPredicate.of().left(new ConstantQueryPredicate("code")),
- p -> new CombinationQueryPredicate<>(p, NotEnabledErrorQueryBuilderDsl::of));
- }
-
- public StringComparisonPredicateBuilder message() {
- return new StringComparisonPredicateBuilder<>(
- BinaryQueryPredicate.of().left(new ConstantQueryPredicate("message")),
- p -> new CombinationQueryPredicate<>(p, NotEnabledErrorQueryBuilderDsl::of));
- }
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorTest.java
deleted file mode 100644
index 8dc870a09c1..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorTest.java
+++ /dev/null
@@ -1,13 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import com.tngtech.junit.dataprovider.DataProviderExtension;
-import com.tngtech.junit.dataprovider.UseDataProviderExtension;
-
-import org.junit.jupiter.api.extension.ExtendWith;
-
-@ExtendWith(UseDataProviderExtension.class)
-@ExtendWith(DataProviderExtension.class)
-public class GraphQLNotEnabledErrorTest {
-
-}
diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/NotEnabledErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/NotEnabledErrorTest.java
deleted file mode 100644
index 0e3487f28d7..00000000000
--- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/NotEnabledErrorTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-
-package com.commercetools.api.models.error;
-
-import com.tngtech.junit.dataprovider.DataProvider;
-import com.tngtech.junit.dataprovider.DataProviderExtension;
-import com.tngtech.junit.dataprovider.UseDataProvider;
-import com.tngtech.junit.dataprovider.UseDataProviderExtension;
-
-import org.assertj.core.api.Assertions;
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestTemplate;
-import org.junit.jupiter.api.extension.ExtendWith;
-
-@ExtendWith(UseDataProviderExtension.class)
-@ExtendWith(DataProviderExtension.class)
-public class NotEnabledErrorTest {
-
- @TestTemplate
- @UseDataProvider("objectBuilder")
- public void buildUnchecked(NotEnabledErrorBuilder builder) {
- NotEnabledError notEnabledError = builder.buildUnchecked();
- Assertions.assertThat(notEnabledError).isInstanceOf(NotEnabledError.class);
- }
-
- @DataProvider
- public static Object[][] objectBuilder() {
- return new Object[][] { new Object[] { NotEnabledError.builder().message("message") } };
- }
-
- @Test
- public void message() {
- NotEnabledError value = NotEnabledError.of();
- value.setMessage("message");
- Assertions.assertThat(value.getMessage()).isEqualTo("message");
- }
-}
diff --git a/references.txt b/references.txt
index 1036796ce51..a627f4cef9b 100644
--- a/references.txt
+++ b/references.txt
@@ -165,3 +165,4 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d
70d15e13efcbf54dd231b1f2cfbec50da95de1a3
8f05884799f311b3f09307fb57c2846383c96371
de39b32f1f157ed82869e1c07c1963615d571f87
+d29ffbb65f68b7dd7623956b7e6151454bea2fea
From 89b263b1d3b380f146e01e47eba3b2b9541737f0 Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Thu, 21 Dec 2023 14:02:43 +0000
Subject: [PATCH 5/9] build(codegen): updating SDK
---
references.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/references.txt b/references.txt
index a627f4cef9b..5d4182996e5 100644
--- a/references.txt
+++ b/references.txt
@@ -166,3 +166,4 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d
8f05884799f311b3f09307fb57c2846383c96371
de39b32f1f157ed82869e1c07c1963615d571f87
d29ffbb65f68b7dd7623956b7e6151454bea2fea
+f94a9a687588e4e941100ac3a4a25d55058a6016
From b6d07fe19071d7290132d8f4c8c2058c1ab83699 Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Wed, 27 Dec 2023 14:50:45 +0000
Subject: [PATCH 6/9] build(codegen): updating SDK
---
references.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/references.txt b/references.txt
index 5d4182996e5..5cc56befc1e 100644
--- a/references.txt
+++ b/references.txt
@@ -167,3 +167,4 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d
de39b32f1f157ed82869e1c07c1963615d571f87
d29ffbb65f68b7dd7623956b7e6151454bea2fea
f94a9a687588e4e941100ac3a4a25d55058a6016
+e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
From e0a4c023e4c37ff8e8921756e1c46b56f667f3fd Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Wed, 3 Jan 2024 11:01:32 +0000
Subject: [PATCH 7/9] build(codegen): updating SDK
---
...rojectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java | 3 ++-
...ctKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java | 3 ++-
references.txt | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
index 1cc7c299b9a..9acee87b615 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
@@ -20,7 +20,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * Gets the current or staged representation of a Product by its ID from the specified Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price and inventory.
+ * Gets the current or staged representation of a Product by its ID from the specified Store. If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, they are used for projections based on locale, price and inventory.
+ * If ProductSelection is used, it affects the availability of the Product in the specified Store.
* When used with an API Client that has the view_published_products:{projectKey}
scope, this endpoint only returns published (current) Product Projections.
*
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
index 347b7e9f5d4..dcefbea0ee0 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
@@ -20,7 +20,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
- * Gets the current or staged representation of a Product by its key from the specified Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price and inventory.
+ * Gets the current or staged representation of a Product by its key from the specified Store. If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, they are used for projections based on locale, price and inventory.
+ * If ProductSelection is used, it affects the availability of the Product in the specified Store.
* When used with an API Client that has the view_published_products:{projectKey}
scope, this endpoint only returns published (current) Product Projections.
*
*
diff --git a/references.txt b/references.txt
index 5cc56befc1e..5dc1da87a24 100644
--- a/references.txt
+++ b/references.txt
@@ -168,3 +168,4 @@ de39b32f1f157ed82869e1c07c1963615d571f87
d29ffbb65f68b7dd7623956b7e6151454bea2fea
f94a9a687588e4e941100ac3a4a25d55058a6016
e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
+d216fff1d56706c8f7cb20b8c9d10b917b8f7781
From 931c6a21d6033786259bcf0f80394e6e3b199ece Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Tue, 9 Jan 2024 07:52:35 +0000
Subject: [PATCH 8/9] build(codegen): updating SDK
---
references.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/references.txt b/references.txt
index 5dc1da87a24..5d00c844a82 100644
--- a/references.txt
+++ b/references.txt
@@ -169,3 +169,4 @@ d29ffbb65f68b7dd7623956b7e6151454bea2fea
f94a9a687588e4e941100ac3a4a25d55058a6016
e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
d216fff1d56706c8f7cb20b8c9d10b917b8f7781
+6fdddfe25400a00a9b38068eabe18331d216fc82
From 4807cdc41f489fc933cf7b85fc6d74302ea3678c Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Tue, 9 Jan 2024 10:09:50 +0000
Subject: [PATCH 9/9] build(codegen): updating SDK
---
references.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/references.txt b/references.txt
index 5d00c844a82..2c1a0f0aa25 100644
--- a/references.txt
+++ b/references.txt
@@ -170,3 +170,4 @@ f94a9a687588e4e941100ac3a4a25d55058a6016
e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
d216fff1d56706c8f7cb20b8c9d10b917b8f7781
6fdddfe25400a00a9b38068eabe18331d216fc82
+580c5cde461a20eb43322d6bb592ac2de30eb61f