From 945cf2a4f154d803705c1c3bd5914cd8c390f4a2 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 09:18:30 +0000 Subject: [PATCH 1/3] build(codegen): updating SDK --- .../com/commercetools/api/models/cart/LineItemPriceMode.java | 2 +- references.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemPriceMode.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemPriceMode.java index 5e8f972a15..f7d90a66a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemPriceMode.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemPriceMode.java @@ -23,7 +23,7 @@ public interface LineItemPriceMode extends JsonEnum {

The Line Item price is set externally. Cart Discounts can apply to Line Items with this price mode. All update actions that change the quantity of a Line Item with this price mode require the externalPrice field to be given.

*/ LineItemPriceMode EXTERNAL_PRICE = LineItemPriceModeEnum.EXTERNAL_PRICE; /** -

The Line Item price with the total is set externally. Cart Discounts are deactivated for Line Items with this price mode, despite a matching CartDiscountLineItemsTarget or MultiBuyLineItemsTarget. Although a Line Item with this price mode has both price and totalPrice set externally, only totalPrice is used to calculate the total price of a Cart. All update actions that change the quantity of a Line Item with this price mode can set the new price with the externalTotal field. If the externalTotal field is not given in the update actions, the external price is unset and the price mode is set to Platform.

*/ +

The Line Item price with the total is set externally. Cart Discounts are deactivated for Line Items with this price mode, despite a matching CartDiscountLineItemsTarget or MultiBuyLineItemsTarget. Although a Line Item with this price mode has both price and totalPrice set externally, only totalPrice is used to calculate the total price of a Cart. All update actions that change the quantity of a Line Item with this price mode can set the new price with the externalTotalPrice field. If the externalTotalPrice field is not given in the update actions, the external price is unset and the price mode is set to Platform.

*/ LineItemPriceMode EXTERNAL_TOTAL = LineItemPriceModeEnum.EXTERNAL_TOTAL; /** diff --git a/references.txt b/references.txt index 3dae6ba43b..acb22f016e 100644 --- a/references.txt +++ b/references.txt @@ -285,3 +285,4 @@ c2d41f9490412d38247db519a7ae49592d0761f9 9542dc4271ffcefbac6972c63247f35a135f2e11 575e2e7e69d920c7975e85533620a634cc7ba2e2 260a278a102d37ab4e811be43e43d96a387ff119 +1097ecaee5d79d53cdff84ef51b23a1a1f84ba41 From 712d42651407febd34a6d25f1e3cd0a240c4f925 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 09:29:21 +0000 Subject: [PATCH 2/3] build(codegen): updating SDK --- changes.md | 19 ++ ...eyInStoreKeyByStoreKeyCartsByIDDelete.java | 2 +- ...ctKeyInStoreKeyByStoreKeyCartsByIDGet.java | 2 +- ...tKeyInStoreKeyByStoreKeyCartsByIDHead.java | 2 +- ...tKeyInStoreKeyByStoreKeyCartsByIDPost.java | 2 +- ...StoreKeyByStoreKeyCartsByIDPostString.java | 2 +- ...toreKeyCartsCustomerIdByCustomerIdGet.java | 2 +- ...oreKeyCartsCustomerIdByCustomerIdHead.java | 2 +- ...ojectKeyInStoreKeyByStoreKeyCartsHead.java | 2 +- ...StoreKeyByStoreKeyCartsKeyByKeyDelete.java | 2 +- ...yInStoreKeyByStoreKeyCartsKeyByKeyGet.java | 2 +- ...InStoreKeyByStoreKeyCartsKeyByKeyHead.java | 2 +- ...InStoreKeyByStoreKeyCartsKeyByKeyPost.java | 2 +- ...eKeyByStoreKeyCartsKeyByKeyPostString.java | 2 +- ...tKeyInStoreKeyByStoreKeyCustomersHead.java | 2 +- ...eyInStoreKeyByStoreKeyMeActiveCartGet.java | 9 +- ...yInStoreKeyByStoreKeyMeActiveCartHead.java | 8 +- ...InStoreKeyByStoreKeyMeCartsByIDDelete.java | 10 +- ...KeyInStoreKeyByStoreKeyMeCartsByIDGet.java | 10 +- ...eyInStoreKeyByStoreKeyMeCartsByIDPost.java | 10 +- ...oreKeyByStoreKeyMeCartsByIDPostString.java | 10 +- ...ectKeyInStoreKeyByStoreKeyMeCartsHead.java | 2 +- ...ectKeyInStoreKeyByStoreKeyMeCartsPost.java | 2 +- ...InStoreKeyByStoreKeyMeCartsPostString.java | 2 +- ...eyInStoreKeyByStoreKeyMeOrdersByIDGet.java | 8 +- ...yInStoreKeyByStoreKeyMeOrdersByIDHead.java | 8 +- ...ectKeyInStoreKeyByStoreKeyMeOrdersGet.java | 2 +- ...ctKeyInStoreKeyByStoreKeyMeOrdersHead.java | 8 +- ...ctKeyInStoreKeyByStoreKeyMeOrdersPost.java | 2 + ...nStoreKeyByStoreKeyMeOrdersPostString.java | 2 + ...eyByStoreKeyMeShoppingListsByIDDelete.java | 8 +- ...reKeyByStoreKeyMeShoppingListsByIDGet.java | 8 +- ...eKeyByStoreKeyMeShoppingListsByIDHead.java | 8 +- ...eKeyByStoreKeyMeShoppingListsByIDPost.java | 8 +- ...StoreKeyMeShoppingListsByIDPostString.java | 8 +- ...nStoreKeyByStoreKeyMeShoppingListsGet.java | 8 +- ...StoreKeyByStoreKeyMeShoppingListsHead.java | 8 +- ...StoreKeyMeShoppingListsKeyByKeyDelete.java | 8 +- ...yByStoreKeyMeShoppingListsKeyByKeyGet.java | 8 +- ...ByStoreKeyMeShoppingListsKeyByKeyHead.java | 8 +- ...ByStoreKeyMeShoppingListsKeyByKeyPost.java | 8 +- ...eKeyMeShoppingListsKeyByKeyPostString.java | 8 +- ...StoreKeyByStoreKeyMeShoppingListsPost.java | 1 + ...eyByStoreKeyMeShoppingListsPostString.java | 1 + ...yInStoreKeyByStoreKeyOrdersByIDDelete.java | 2 +- ...tKeyInStoreKeyByStoreKeyOrdersByIDGet.java | 2 +- ...KeyInStoreKeyByStoreKeyOrdersByIDHead.java | 2 +- ...KeyInStoreKeyByStoreKeyOrdersByIDPost.java | 2 +- ...toreKeyByStoreKeyOrdersByIDPostString.java | 2 +- ...jectKeyInStoreKeyByStoreKeyOrdersHead.java | 2 +- ...yOrdersOrderNumberByOrderNumberDelete.java | 2 +- ...eKeyOrdersOrderNumberByOrderNumberGet.java | 2 +- ...KeyOrdersOrderNumberByOrderNumberHead.java | 2 +- ...KeyOrdersOrderNumberByOrderNumberPost.java | 2 +- ...ersOrderNumberByOrderNumberPostString.java | 2 +- ...oreKeyByStoreKeyQuoteRequestsByIDHead.java | 2 +- ...InStoreKeyByStoreKeyQuoteRequestsHead.java | 2 +- ...eyByStoreKeyQuoteRequestsKeyByKeyHead.java | 2 +- ...KeyInStoreKeyByStoreKeyQuotesByIDHead.java | 2 +- ...jectKeyInStoreKeyByStoreKeyQuotesHead.java | 2 +- ...nStoreKeyByStoreKeyQuotesKeyByKeyHead.java | 2 +- ...oreKeyByStoreKeyShoppingListsByIDHead.java | 2 +- ...InStoreKeyByStoreKeyShoppingListsHead.java | 2 +- ...eyByStoreKeyShoppingListsKeyByKeyHead.java | 2 +- ...toreKeyByStoreKeyStagedQuotesByIDHead.java | 2 +- ...yInStoreKeyByStoreKeyStagedQuotesHead.java | 2 +- ...KeyByStoreKeyStagedQuotesKeyByKeyHead.java | 2 +- .../client/ByProjectKeyMeActiveCartGet.java | 9 +- .../client/ByProjectKeyMeActiveCartHead.java | 7 +- .../client/ByProjectKeyMeCartsByIDDelete.java | 8 +- .../client/ByProjectKeyMeCartsByIDGet.java | 8 +- .../client/ByProjectKeyMeCartsByIDHead.java | 8 +- .../client/ByProjectKeyMeCartsByIDPost.java | 8 +- .../ByProjectKeyMeCartsByIDPostString.java | 8 +- .../api/client/ByProjectKeyMeCartsHead.java | 2 +- .../ByProjectKeyMeCartsKeyByKeyDelete.java | 295 ------------------ .../ByProjectKeyMeCartsKeyByKeyGet.java | 209 ------------- .../ByProjectKeyMeCartsKeyByKeyHead.java | 121 ------- .../ByProjectKeyMeCartsKeyByKeyPost.java | 231 -------------- ...ByProjectKeyMeCartsKeyByKeyPostString.java | 231 -------------- ...ojectKeyMeCartsKeyByKeyRequestBuilder.java | 51 --- .../api/client/ByProjectKeyMeCartsPost.java | 2 +- .../client/ByProjectKeyMeCartsPostString.java | 2 +- .../ByProjectKeyMeCartsRequestBuilder.java | 4 - .../client/ByProjectKeyMeOrdersByIDGet.java | 7 +- .../client/ByProjectKeyMeOrdersByIDHead.java | 7 +- .../api/client/ByProjectKeyMeOrdersGet.java | 7 +- .../api/client/ByProjectKeyMeOrdersHead.java | 7 +- .../api/client/ByProjectKeyMeOrdersPost.java | 5 +- .../ByProjectKeyMeOrdersPostString.java | 5 +- ...ByProjectKeyMeQuoteRequestsByIDDelete.java | 295 ------------------ .../ByProjectKeyMeQuoteRequestsByIDHead.java | 2 +- ...tKeyMeQuoteRequestsByIDRequestBuilder.java | 8 - .../ByProjectKeyMeQuoteRequestsGet.java | 2 +- .../ByProjectKeyMeQuoteRequestsHead.java | 2 +- ...ojectKeyMeQuoteRequestsKeyByKeyDelete.java | 295 ------------------ ...ProjectKeyMeQuoteRequestsKeyByKeyHead.java | 2 +- ...MeQuoteRequestsKeyByKeyRequestBuilder.java | 8 - .../client/ByProjectKeyMeQuotesByIDHead.java | 2 +- .../api/client/ByProjectKeyMeQuotesHead.java | 2 +- .../ByProjectKeyMeQuotesKeyByKeyHead.java | 2 +- ...ByProjectKeyMeShoppingListsByIDDelete.java | 7 +- .../ByProjectKeyMeShoppingListsByIDGet.java | 7 +- .../ByProjectKeyMeShoppingListsByIDHead.java | 7 +- .../ByProjectKeyMeShoppingListsByIDPost.java | 7 +- ...ojectKeyMeShoppingListsByIDPostString.java | 7 +- .../ByProjectKeyMeShoppingListsGet.java | 7 +- .../ByProjectKeyMeShoppingListsHead.java | 7 +- ...ojectKeyMeShoppingListsKeyByKeyDelete.java | 7 +- ...yProjectKeyMeShoppingListsKeyByKeyGet.java | 7 +- ...ProjectKeyMeShoppingListsKeyByKeyHead.java | 7 +- ...ProjectKeyMeShoppingListsKeyByKeyPost.java | 7 +- ...tKeyMeShoppingListsKeyByKeyPostString.java | 7 +- .../ByProjectKeyMeShoppingListsPost.java | 2 +- ...ByProjectKeyMeShoppingListsPostString.java | 2 +- .../ByProjectKeyMeCartsKeyByKeyTest.java | 159 ---------- .../ByProjectKeyMeQuoteRequestsByIDTest.java | 42 +-- ...ProjectKeyMeQuoteRequestsKeyByKeyTest.java | 45 +-- references.txt | 1 + 119 files changed, 375 insertions(+), 2106 deletions(-) delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyDelete.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyGet.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyHead.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPost.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPostString.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyRequestBuilder.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDDelete.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyDelete.java delete mode 100644 commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java diff --git a/changes.md b/changes.md index eafcdacc0b..2d6e53d503 100644 --- a/changes.md +++ b/changes.md @@ -79,6 +79,13 @@ +
+Removed Resource(s) + +- :warning: removed resource `/{projectKey}/me/carts/key={key}` +
+ +
Removed QueryParameter(s) @@ -141,6 +148,18 @@
+
+Removed Method(s) + +- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().get()` +- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().head()` +- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().post()` +- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().delete()` +- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withId().delete()` +- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withKey().delete()` +
+ +
Added Enum(s) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java index b9c027525c..91b293a80d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java index b4c896fba8..aee9259419 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

*

To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java index 5c2a79e15d..f999424c5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Cart exists for a given id. Returns a 200 OK status if the Cart exists or a 404 Not Found otherwise.

+ *

Checks if a Cart exists for a given id. Returns a 200 OK status if the Cart exists or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java index ad1ca687bf..40ef6379b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates a Cart in the Store specified by storeKey. If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

Updates a Cart in the Store specified by storeKey. If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString.java index e149b03034..c3e56df788 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates a Cart in the Store specified by storeKey. If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

Updates a Cart in the Store specified by storeKey. If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java index 0089e37aae..f56ba70676 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java @@ -21,7 +21,7 @@ /** *

Retrieves the most recently modified active Cart of a Customer with CartOrigin Customer. If no active Cart exists, this method returns a ResourceNotFound error.

- *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

*

To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java index f6b5ea5917..b7fc5c779b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Cart of a Customer exists. Returns a 200 OK status if the Cart exists or a 404 Not Found otherwise.

+ *

Checks if a Cart of a Customer exists. Returns a 200 OK status if the Cart exists or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java index 17ca8de830..af059262f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Cart exists for a given Query Predicate. Returns a 200 OK status if any Carts match the Query Predicate or a 404 Not Found otherwise.

+ *

Checks if a Cart exists for a given Query Predicate. Returns a 200 OK status if any Carts match the Query Predicate or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java index 7d40cec7af..68fa3d48af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java index aab83cdd9a..3e6fb3ce69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

*

To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java index 35cbb02e43..6e9c2b2a55 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Cart exists for a given key. Returns a 200 OK status if the Cart exists or a 404 Not Found otherwise.

+ *

Checks if a Cart exists for a given key. Returns a 200 OK status if the Cart exists or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java index abd8226200..5c6d44a113 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString.java index 8bbbe7d4b0..a549ee8c9d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

+ *

If the Cart exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java index 335cb699fb..32eb69fc81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Customer exists for a given Query Predicate. Returns a 200 OK status if any Customers match the Query Predicate or a 404 Not Found otherwise.

+ *

Checks if a Customer exists for a given Query Predicate. Returns a 200 OK status if any Customers match the Query Predicate or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java index 90f7e430af..747c4c9610 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java @@ -20,9 +20,14 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves the Customer's most recently modified active Cart in the Store specified by the storeKey path parameter.

+ *

Retrieves the Customer's most recently modified active Cart in a Store. Returns a 200 OK status if successful.

*

Carts with Merchant or Quote CartOrigin are ignored.

- *

If no active Cart exists, this method returns a ResourceNotFound error.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no active Cart exists.
  • + *
  • If an active Cart exists but does not have a store specified, or the store field references a different Store.
  • + *
  • If an active Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java index 71071ecb89..4516a0b1f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java @@ -16,7 +16,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if an active Cart exists. Returns a 200 OK status if an active Cart exists or a 404 Not Found otherwise.

+ *

Checks if an active Cart exists in a Store. Returns 200 OK status if successful.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no active Cart exists in a Store.
  • + *
  • If an active Cart exists but does not have a store specified, or the store field references a different Store.
  • + *
  • If an active Cart exists but does not contain a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java index e839bca60c..0b1d843849 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java @@ -20,9 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Deletes the Cart for a given id in a Store. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

- *

If the Cart exists in the Project but does not belong to a Store, or the Cart's store field references a different Store, this method returns a ResourceNotFound error.

- *

If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

+ *

Deletes the Cart for a given id in a Store. Returns a 200 OK status if successful.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no Cart exists in the Store for the given id.
  • + *
  • If the Cart exists in the Project but does not belong to a Store, or the Cart's store field references a different Store.
  • + *
  • If the Cart exists in the Project but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java index a43f61ce9a..b8a0912e5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java @@ -20,9 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Returns a Cart for a given id in a Store. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

- *

If the Cart exists in the Project but does not belong to a Store, or the Cart's store field references a different Store, this method returns a ResourceNotFound error.

- *

If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

+ *

Returns a Cart for a given id in a Store. Returns a 200 OK status if the Cart exists.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no Cart exists in the Store for the given id.
  • + *
  • If the Cart exists but does not belong to a Store, or the Cart's store field references a different Store.
  • + *
  • If the Cart exists but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java index ee299b9f1e..430e93bda3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java @@ -20,9 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates the Cart for a given id in a Store. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

- *

If the Cart exists in the Project but does not belong to a Store, or the Cart's store field references a different Store, this method returns a ResourceNotFound error.

- *

If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

+ *

Updates the Cart for a given id in a Store. Returns a 200 OK status if successful.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no Cart exists in the Store for the given id.
  • + *
  • If the Cart exists but does not belong to a Store, or the Cart's store field references a different Store.
  • + *
  • If the Cart exists but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java index fa860e684d..89c5aa6e07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java @@ -21,9 +21,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates the Cart for a given id in a Store. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

- *

If the Cart exists in the Project but does not belong to a Store, or the Cart's store field references a different Store, this method returns a ResourceNotFound error.

- *

If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

+ *

Updates the Cart for a given id in a Store. Returns a 200 OK status if successful.

+ *

A ResourceNotFound error is returned in the following scenarios:

+ *
    + *
  • If no Cart exists in the Store for the given id.
  • + *
  • If the Cart exists but does not belong to a Store, or the Cart's store field references a different Store.
  • + *
  • If the Cart exists but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
  • + *
* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java index b7fe6d3f9c..6bab846da6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching customerId or anonymousId. Returns a 200 OK status if any Carts match these conditions, or a 404 Not Found otherwise.

+ *

Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching customerId or anonymousId. Returns a 200 OK status if any Carts match these conditions, or a ResourceNotFound error otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java index 5fcb9689ec..0d836ad239 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a Cart in the specified Store for a given customerId or anonymousId.

+ *

Creates a Cart in a Store for the Customer or anonymous user. The customerId or anonymousId field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.

*

The store field in the created Cart is set to the Store specified by the storeKey path parameter.

*

Specific Error Codes:

*
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java index 27c4a3dc55..1734c8f8ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Creates a Cart in the specified Store for a given customerId or anonymousId.

    + *

    Creates a Cart in a Store for the Customer or anonymous user. The customerId or anonymousId field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.

    *

    The store field in the created Cart is set to the Store specified by the storeKey path parameter.

    *

    Specific Error Codes:

    *
      diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java index 6070d7f69e..64cf905a7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

      If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

      + *

      Returns an Order for a given id in a Store. Returns a 200 OK status if successful.

      + *

      A ResourceNotFound error is returned in the following scenarios:

      + *
        + *
      • If no Order exists in the Store for the given id.
      • + *
      • If the Order exists but does not have a store specified, or the store field references a different Store.
      • + *
      • If the Order exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
      • + *
      * *
      *
      diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java index c6f16bd996..1d034282ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java @@ -16,7 +16,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

      Checks if an Order exists for a given id. Returns a 200 OK status if the My Order exists or a 404 Not Found otherwise.

      + *

      Checks if an Order exists for a given id in a Store. Returns a 200 OK status if successful.

      + *

      A ResourceNotFound error is returned in the following scenarios:

      + *
        + *
      • If no Order exists in the Store for the given id.
      • + *
      • If the Order exists but does not have a store specified, or the store field references a different Store.
      • + *
      • If the Order exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
      • + *
      * *
      *
      diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java index cdc3e04b3d..c04d076c80 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

      Returns all Orders in a Store that match a given Query Predicate and contain either a customerId that matches the customer_id:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.

      * *
      *
      diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java index 8bd0e34481..f7653c52fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

      Checks if an Order exists for a given Query Predicate. Returns a 200 OK status if any Orders match the Query Predicate or a 404 Not Found otherwise.

      + *

      Checks if an Order exists for a given Query Predicate in a Store. Returns a 200 OK status if successful.

      + *

      A ResourceNotFound error is returned in the following scenarios:

      + *
        + *
      • If no Orders exist in the Store that match the Query Predicate.
      • + *
      • If an Order matches the Query Predicate, but no store is specified, or the store field references a different Store.
      • + *
      • If an Order matches the Query Predicate, but does not have a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
      • + *
      * *
      *
      diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java index a13b250752..ce5b1bbd31 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java @@ -20,7 +20,9 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *

      Creates an Order in a Store from a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.

      *

      The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission.

      + *

      If the Cart's customerId does not match the customer:{id} scope, or the anonymousId does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.

      *

      Creating an Order produces the OrderCreated Message.

      *

      Specific Error Codes:

      *
        diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.java index e9be5a5d19..2581e79ad2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.java @@ -21,7 +21,9 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *

        Creates an Order in a Store from a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.

        *

        The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission.

        + *

        If the Cart's customerId does not match the customer:{id} scope, or the anonymousId does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.

        *

        Creating an Order produces the OrderCreated Message.

        *

        Specific Error Codes:

        *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java index 4786a34e1a..d4032d24f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Deletes the ShoppingList for a given id in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given id in a Store.
          • + *
          • If a ShoppingList matches the given id but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given id in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java index a43df7945f..630d34985f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Returns a ShoppingList for a given id in a Store. Returns 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given id in a Store.
          • + *
          • If a ShoppingList matches the given id but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given id in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java index 0a495fbc9c..ba3cec1d13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java @@ -16,7 +16,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given id. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for a given id in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given id in a Store.
          • + *
          • If a ShoppingList matches the given id but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given id in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java index 5287337041..7578c9245b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Updates a ShoppingList for a given id in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given id in a Store.
          • + *
          • If a ShoppingList matches the given id but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given id in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPostString.java index 16ea2edd3e..a6f2f378f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPostString.java @@ -21,7 +21,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Updates a ShoppingList for a given id in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given id in a Store.
          • + *
          • If a ShoppingList matches the given id but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given id in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java index 1d83c5b029..bf49eb19f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

          Returns ShoppingLists that match the given Query Predicate in a Store. Returns 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingLists exist in a Store.
          • + *
          • If a ShoppingList exists but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList exists in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java index c10c37f3a4..35b2dd7dfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given Query Predicate. Returns a 200 OK status if any ShoppingLists match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for the given Query Predicate in a Store. Returns 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingLists exist for a given Query Predicate in a Store.
          • + *
          • If a ShoppingList matches the Query Predicate but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList exists in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java index 762c3dcde0..0a2da7d103 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Deletes the ShoppingList for a given key in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given key in a Store.
          • + *
          • If a ShoppingList matches the given key but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given key in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java index 90a2168fe7..5d36c1e905 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Returns a ShoppingList for a given key in a Store. Returns 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given key in a Store.
          • + *
          • If a ShoppingList matches the given key but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given key in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java index ee37cc27f3..c3574ebfd8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java @@ -16,7 +16,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given key. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for a given key in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList exists that matches the given key in a Store.
          • + *
          • If a ShoppingList matches the given key but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given key in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java index 13362c1432..bbcb3364df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java @@ -20,7 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Updates a ShoppingList for a given key in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given key in a Store.
          • + *
          • If a ShoppingList matches the given key but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given key in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPostString.java index 90e7f4d2a0..04de6d3c16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPostString.java @@ -21,7 +21,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.

          + *

          Updates a ShoppingList for a given key in a Store. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no ShoppingList matches the given key in a Store.
          • + *
          • If a ShoppingList matches the given key but does not have a store specified, or the store field references a different Store.
          • + *
          • If a ShoppingList matches the given key in a Store but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java index 5cdf3a3e09..2b756719aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java @@ -20,6 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *

          Creates a ShoppingList in a Store for a Customer or anonymous user. The customer or anonymousId field on the ShoppingList is automatically set based on the given customer:{id} or anonymous_id:{id} scope.

          *

          When using this endpoint, the store field of a ShoppingList is always set to the Store specified in the path parameter.

          * *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPostString.java index 4bc2107c1e..267044bb8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPostString.java @@ -21,6 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *

          Creates a ShoppingList in a Store for a Customer or anonymous user. The customer or anonymousId field on the ShoppingList is automatically set based on the given customer:{id} or anonymous_id:{id} scope.

          *

          When using this endpoint, the store field of a ShoppingList is always set to the Store specified in the path parameter.

          * *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java index aefa8f3e54..766a8e1855 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          *

          Deleting an Order produces the OrderDeleted Message.

          * *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java index 3f27222e82..59e16b9879 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java index f8240535b6..38fd2c2b42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if an Order exists for a given id. Returns a 200 OK status if the Order exists or a 404 Not Found otherwise.

          + *

          Checks if an Order exists for a given id. Returns a 200 OK status if the Order exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java index c437ec8c70..14e0df96aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPostString.java index 7fcdfe9ea1..d3ab56fb81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java index 688926ecca..075f9f2295 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if an Order exists for a given Query Predicate. Returns a 200 OK status if any Orders match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if an Order exists for a given Query Predicate. Returns a 200 OK status if any Orders match the Query Predicate or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java index 81c437ee43..35d4b7cb4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          *

          Deleting an Order produces the OrderDeleted Message.

          * *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java index 7191624cf9..183c0801d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java index 71357431a4..f500573a51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if an Order exists for a given orderNumber. Returns a 200 OK status if the Order exists or a 404 Not Found otherwise.

          + *

          Checks if an Order exists for a given orderNumber. Returns a 200 OK status if the Order exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java index fa1fe24569..12630b09f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPostString.java index 4ceae2cfb5..9efa48364b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          If the Order exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.

          + *

          If the Order exists in the Project but does not have a store specified, or the store field references a different Store, this method returns a ResourceNotFound error.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java index 0a63db0aa7..b952f0213b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a QuoteRequest exists for a given id. Returns a 200 OK status if the QuoteRequest exists or a 404 Not Found otherwise.

          + *

          Checks if a QuoteRequest exists for a given id. Returns a 200 OK status if the QuoteRequest exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java index 2f32ab10a2..bfd7c03fea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a QuoteRequest exists for a given Query Predicate. Returns a 200 OK status if any QuoteRequests match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if a QuoteRequest exists for a given Query Predicate. Returns a 200 OK status if any QuoteRequests match the Query Predicate or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java index 3f38eeb132..512a3c29c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a QuoteRequest exists for a given key. Returns a 200 OK status if the QuoteRequest exists or a 404 Not Found otherwise.

          + *

          Checks if a QuoteRequest exists for a given key. Returns a 200 OK status if the QuoteRequest exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java index de3a9a0a41..ac1b57598d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a Quote exists for a given id. Returns a 200 OK status if the Quote exists or a 404 Not Found otherwise.

          + *

          Checks if a Quote exists for a given id. Returns a 200 OK status if the Quote exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java index 9a01819c02..20dcd9021e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a Quote exists for a given Query Predicate. Returns a 200 OK status if any Quotes match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if a Quote exists for a given Query Predicate. Returns a 200 OK status if any Quotes match the Query Predicate or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java index f82eb6fb7b..0a2e8f5742 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a Quote exists for a given key. Returns a 200 OK status if the Quote exists or a 404 Not Found otherwise.

          + *

          Checks if a Quote exists for a given key. Returns a 200 OK status if the Quote exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java index 0ddb8fd5bf..d651f44f98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given id. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for a given id. Returns a 200 OK status if the ShoppingList exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java index 9bf6328182..024ec3d057 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given Query Predicate. Returns a 200 OK status if any ShoppingLists match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for a given Query Predicate. Returns a 200 OK status if any ShoppingLists match the Query Predicate or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java index 1336d9fc87..5b6811bdad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a ShoppingList exists for a given key. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

          + *

          Checks if a ShoppingList exists for a given key. Returns a 200 OK status if the ShoppingList exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java index ba29131b37..845d8d5028 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a StagedQuote exists for a given id. Returns a 200 OK status if the StagedQuote exists or a 404 Not Found otherwise.

          + *

          Checks if a StagedQuote exists for a given id. Returns a 200 OK status if the StagedQuote exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java index 2125bcf520..f02e4301e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a StagedQuote exists for a given Query Predicate. Returns a 200 OK status if any StagedQuotes match the Query Predicate or a 404 Not Found otherwise.

          + *

          Checks if a StagedQuote exists for a given Query Predicate. Returns a 200 OK status if any StagedQuotes match the Query Predicate or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java index bb82782171..c62f7dace9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a StagedQuote exists for a given key. Returns a 200 OK status if the StagedQuote exists or a 404 Not Found otherwise.

          + *

          Checks if a StagedQuote exists for a given key. Returns a 200 OK status if the StagedQuote exists or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java index 5b2e6c73d1..2aeb7796c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java @@ -20,8 +20,13 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Retrieves the Customer's most recently modified active Cart. Carts with Merchant or Quote CartOrigin are ignored.

          - *

          If no active Cart exists, this method returns a ResourceNotFound error.

          + *

          Retrieves the Customer's most recently modified active Cart. Returns a 200 OK status if successful.

          + *

          Carts with Merchant or Quote CartOrigin are ignored.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no active Cart exists.
          • + *
          • If an active Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java index 03ae1d9679..ad99992818 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java @@ -16,7 +16,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if an active Cart exists. Returns a 200 OK status if an active Cart exists or a 404 Not Found otherwise.

          + *

          Checks if an active Cart exists. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no active Cart exists.
          • + *
          • If an active Cart exists but does not have a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java index 4cb449fe5a..c90b2cbbec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java @@ -20,8 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Deletes the Cart for a given id. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

          - *

          If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

          + *

          Deletes the Cart for a given id. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no Cart exists for a given id.
          • + *
          • If the Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java index ac6dd77350..4f031e226b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java @@ -20,8 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Returns a Cart for a given id. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

          - *

          If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

          + *

          Returns a Cart for a given id. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no Cart exists for a given id.
          • + *
          • If the Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java index aad4b1888a..343206553c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java @@ -16,8 +16,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a Cart exists for a given id. Returns a 200 OK status if the Cart exists, or a 404 Not Found otherwise.

          - *

          If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

          + *

          Checks if a Cart exists for a given id. Returns a 200 OK status if the Cart exists.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no Cart exists for a given id.
          • + *
          • If the Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java index 2dfcb28d1d..d3ddd9c6de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java @@ -20,8 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Updates the Cart for a given id. Returns a 200 OK status if the Cart exists, or a 404 Not Found otherwise.

          - *

          If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

          + *

          Updates the Cart for a given id. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no Cart exists for a given id.
          • + *
          • If the Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPostString.java index 857a10fbec..161f8c961b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPostString.java @@ -21,8 +21,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Updates the Cart for a given id. Returns a 200 OK status if the Cart exists, or a 404 Not Found otherwise.

          - *

          If the Cart exists in the Project but does not have a matching customerId or anonymousId, this method returns a ResourceNotFound error.

          + *

          Updates the Cart for a given id. Returns a 200 OK status if successful.

          + *

          A ResourceNotFound error is returned in the following scenarios:

          + *
            + *
          • If no Cart exists for a given id.
          • + *
          • If the Cart exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
          • + *
          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java index 09f6b9cbc8..b409dfe49f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Checks if a Cart exists that matches a given Query Predicate and contains either a matching customerId or anonymousId. Returns a 200 OK status if the Cart exists, or a 404 Not Found otherwise.

          + *

          Checks if a Cart exists that matches a given Query Predicate and contains either a matching customerId or anonymousId. Returns a 200 OK status if the Cart exists, or a ResourceNotFound error otherwise.

          * *
          *
          diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyDelete.java deleted file mode 100644 index eac66ebcb0..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyDelete.java +++ /dev/null @@ -1,295 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
          - *
          - *
          {@code
          - *   CompletableFuture> result = apiRoot
          - *            .withProjectKey("{projectKey}")
          - *            .me()
          - *            .carts()
          - *            .withKey("{key}")
          - *            .delete()
          - *            .withVersion(version)
          - *            .execute()
          - * }
          - *
          - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyDelete - extends TypeApiMethod - implements com.commercetools.api.client.VersionedTrait, - com.commercetools.api.client.ConflictingTrait, - com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.ErrorableTrait, - com.commercetools.api.client.Deprecatable200Trait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - public ByProjectKeyMeCartsKeyByKeyDelete(final ApiHttpClient apiHttpClient, String projectKey, String key) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - } - - public ByProjectKeyMeCartsKeyByKeyDelete(ByProjectKeyMeCartsKeyByKeyDelete t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.DELETE, URI.create(httpRequestPath), getHeaders(), null); - } - - @Override - public ApiHttpResponse executeBlocking(final ApiHttpClient client, - final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.cart.Cart.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.cart.Cart.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public List getVersion() { - return this.getQueryParam("version"); - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - /** - * set version with the specified value - * @param version value to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withVersion(final TValue version) { - return copy().withQueryParam("version", version); - } - - /** - * add additional version query parameter - * @param version value to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addVersion(final TValue version) { - return copy().addQueryParam("version", version); - } - - /** - * set version with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withVersion(final Supplier supplier) { - return copy().withQueryParam("version", supplier.get()); - } - - /** - * add additional version query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addVersion(final Supplier supplier) { - return copy().addQueryParam("version", supplier.get()); - } - - /** - * set version with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withVersion(final Function op) { - return copy().withQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * add additional version query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addVersion(final Function op) { - return copy().addQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * set version with the specified values - * @param version values to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withVersion(final Collection version) { - return copy().withoutQueryParam("version") - .addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional version query parameters - * @param version values to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addVersion(final Collection version) { - return copy().addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * set expand with the specified value - * @param expand value to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param expand value to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param expand values to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param expand values to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyDelete - */ - public ByProjectKeyMeCartsKeyByKeyDelete addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeCartsKeyByKeyDelete that = (ByProjectKeyMeCartsKeyByKeyDelete) o; - - return new EqualsBuilder().append(projectKey, that.projectKey).append(key, that.key).isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).toHashCode(); - } - - @Override - protected ByProjectKeyMeCartsKeyByKeyDelete copy() { - return new ByProjectKeyMeCartsKeyByKeyDelete(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyGet.java deleted file mode 100644 index 14a098c175..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyGet.java +++ /dev/null @@ -1,209 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
          - *
          - *
          {@code
          - *   CompletableFuture> result = apiRoot
          - *            .withProjectKey("{projectKey}")
          - *            .me()
          - *            .carts()
          - *            .withKey("{key}")
          - *            .get()
          - *            .execute()
          - * }
          - *
          - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyGet - extends TypeApiMethod - implements com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.ErrorableTrait, - com.commercetools.api.client.Deprecatable200Trait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - public ByProjectKeyMeCartsKeyByKeyGet(final ApiHttpClient apiHttpClient, String projectKey, String key) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - } - - public ByProjectKeyMeCartsKeyByKeyGet(ByProjectKeyMeCartsKeyByKeyGet t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.GET, URI.create(httpRequestPath), getHeaders(), null); - } - - @Override - public ApiHttpResponse executeBlocking(final ApiHttpClient client, - final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.cart.Cart.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.cart.Cart.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - /** - * set expand with the specified value - * @param expand value to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param expand value to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param expand values to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param expand values to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyGet - */ - public ByProjectKeyMeCartsKeyByKeyGet addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeCartsKeyByKeyGet that = (ByProjectKeyMeCartsKeyByKeyGet) o; - - return new EqualsBuilder().append(projectKey, that.projectKey).append(key, that.key).isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).toHashCode(); - } - - @Override - protected ByProjectKeyMeCartsKeyByKeyGet copy() { - return new ByProjectKeyMeCartsKeyByKeyGet(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyHead.java deleted file mode 100644 index 4ed2731537..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyHead.java +++ /dev/null @@ -1,121 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.CompletableFuture; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - *

          Checks if a Cart exists for a given key. Returns a 200 OK status if the Cart exists or a 404 Not Found otherwise.

          - * - *
          - *
          - *
          {@code
          - *   CompletableFuture> result = apiRoot
          - *            .withProjectKey("{projectKey}")
          - *            .me()
          - *            .carts()
          - *            .withKey("{key}")
          - *            .head()
          - *            .execute()
          - * }
          - *
          - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyHead - extends TypeApiMethod - implements com.commercetools.api.client.ErrorableTrait, - com.commercetools.api.client.Deprecatable200Trait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - public ByProjectKeyMeCartsKeyByKeyHead(final ApiHttpClient apiHttpClient, String projectKey, String key) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - } - - public ByProjectKeyMeCartsKeyByKeyHead(ByProjectKeyMeCartsKeyByKeyHead t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.HEAD, URI.create(httpRequestPath), getHeaders(), null); - } - - @Override - public ApiHttpResponse executeBlocking(final ApiHttpClient client, - final Duration timeout) { - return executeBlocking(client, timeout, com.fasterxml.jackson.databind.JsonNode.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.fasterxml.jackson.databind.JsonNode.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeCartsKeyByKeyHead that = (ByProjectKeyMeCartsKeyByKeyHead) o; - - return new EqualsBuilder().append(projectKey, that.projectKey).append(key, that.key).isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).toHashCode(); - } - - @Override - protected ByProjectKeyMeCartsKeyByKeyHead copy() { - return new ByProjectKeyMeCartsKeyByKeyHead(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPost.java deleted file mode 100644 index 190974f45a..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPost.java +++ /dev/null @@ -1,231 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
          - *
          - *
          {@code
          - *   CompletableFuture> result = apiRoot
          - *            .withProjectKey("{projectKey}")
          - *            .me()
          - *            .carts()
          - *            .withKey("{key}")
          - *            .post(null)
          - *            .execute()
          - * }
          - *
          - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyPost extends - TypeBodyApiMethod - implements com.commercetools.api.client.ConflictingTrait, - com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.Deprecatable200Trait, - com.commercetools.api.client.ErrorableTrait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - private com.commercetools.api.models.me.MyCartUpdate myCartUpdate; - - public ByProjectKeyMeCartsKeyByKeyPost(final ApiHttpClient apiHttpClient, String projectKey, String key, - com.commercetools.api.models.me.MyCartUpdate myCartUpdate) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - this.myCartUpdate = myCartUpdate; - } - - public ByProjectKeyMeCartsKeyByKeyPost(ByProjectKeyMeCartsKeyByKeyPost t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - this.myCartUpdate = t.myCartUpdate; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.POST, URI.create(httpRequestPath), getHeaders(), - io.vrap.rmf.base.client.utils.json.JsonUtils - .executing(() -> apiHttpClient().getSerializerService().toJsonByteArray(myCartUpdate))); - - } - - @Override - public ApiHttpResponse executeBlocking(final ApiHttpClient client, - final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.cart.Cart.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.cart.Cart.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - /** - * set expand with the specified value - * @param expand value to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param expand value to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param expand values to be set - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param expand values to be added - * @param value type - * @return ByProjectKeyMeCartsKeyByKeyPost - */ - public ByProjectKeyMeCartsKeyByKeyPost addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - public com.commercetools.api.models.me.MyCartUpdate getBody() { - return myCartUpdate; - } - - public ByProjectKeyMeCartsKeyByKeyPost withBody(com.commercetools.api.models.me.MyCartUpdate myCartUpdate) { - ByProjectKeyMeCartsKeyByKeyPost t = copy(); - t.myCartUpdate = myCartUpdate; - return t; - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeCartsKeyByKeyPost that = (ByProjectKeyMeCartsKeyByKeyPost) o; - - return new EqualsBuilder().append(projectKey, that.projectKey) - .append(key, that.key) - .append(myCartUpdate, that.myCartUpdate) - .isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).append(myCartUpdate).toHashCode(); - } - - @Override - protected ByProjectKeyMeCartsKeyByKeyPost copy() { - return new ByProjectKeyMeCartsKeyByKeyPost(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPostString.java deleted file mode 100644 index f269143e4c..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyPostString.java +++ /dev/null @@ -1,231 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.nio.charset.StandardCharsets; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
          - *
          - *
          {@code
          - *   CompletableFuture> result = apiRoot
          - *            .withProjectKey("{projectKey}")
          - *            .me()
          - *            .carts()
          - *            .withKey("{key}")
          - *            .post("")
          - *            .execute()
          - * }
          - *
          - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyPostString - extends StringBodyApiMethod - implements com.commercetools.api.client.ConflictingTrait, - com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.Deprecatable200Trait, - com.commercetools.api.client.ErrorableTrait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - private String myCartUpdate; - - public ByProjectKeyMeCartsKeyByKeyPostString(final ApiHttpClient apiHttpClient, String projectKey, String key, - String myCartUpdate) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - this.myCartUpdate = myCartUpdate; - } - - public ByProjectKeyMeCartsKeyByKeyPostString(ByProjectKeyMeCartsKeyByKeyPostString t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - this.myCartUpdate = t.myCartUpdate; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.POST, URI.create(httpRequestPath), getHeaders(), - myCartUpdate.getBytes(StandardCharsets.UTF_8)); - - } - - @Override - public ApiHttpResponse executeBlocking(final ApiHttpClient client, - final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.cart.Cart.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.cart.Cart.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - /** - * set expand with the specified value - * @param value type - * @param expand value to be set - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param value type - * @param expand value to be added - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param value type - * @param expand values to be set - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param value type - * @param expand values to be added - * @return ByProjectKeyMeCartsKeyByKeyPostString - */ - public ByProjectKeyMeCartsKeyByKeyPostString addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - public String getBody() { - return myCartUpdate; - } - - public ByProjectKeyMeCartsKeyByKeyPostString withBody(String myCartUpdate) { - ByProjectKeyMeCartsKeyByKeyPostString t = copy(); - t.myCartUpdate = myCartUpdate; - return t; - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeCartsKeyByKeyPostString that = (ByProjectKeyMeCartsKeyByKeyPostString) o; - - return new EqualsBuilder().append(projectKey, that.projectKey) - .append(key, that.key) - .append(myCartUpdate, that.myCartUpdate) - .isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).append(myCartUpdate).toHashCode(); - } - - @Override - protected ByProjectKeyMeCartsKeyByKeyPostString copy() { - return new ByProjectKeyMeCartsKeyByKeyPostString(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyRequestBuilder.java deleted file mode 100644 index 737bab9401..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsKeyByKeyRequestBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.commercetools.api.client; - -import java.util.function.UnaryOperator; - -import io.vrap.rmf.base.client.ApiHttpClient; -import io.vrap.rmf.base.client.utils.Generated; - -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeCartsKeyByKeyRequestBuilder { - - private final ApiHttpClient apiHttpClient; - private final String projectKey; - private final String key; - - public ByProjectKeyMeCartsKeyByKeyRequestBuilder(final ApiHttpClient apiHttpClient, final String projectKey, - final String key) { - this.apiHttpClient = apiHttpClient; - this.projectKey = projectKey; - this.key = key; - } - - public ByProjectKeyMeCartsKeyByKeyGet get() { - return new ByProjectKeyMeCartsKeyByKeyGet(apiHttpClient, projectKey, key); - } - - public ByProjectKeyMeCartsKeyByKeyHead head() { - return new ByProjectKeyMeCartsKeyByKeyHead(apiHttpClient, projectKey, key); - } - - public ByProjectKeyMeCartsKeyByKeyPost post(com.commercetools.api.models.me.MyCartUpdate myCartUpdate) { - return new ByProjectKeyMeCartsKeyByKeyPost(apiHttpClient, projectKey, key, myCartUpdate); - } - - public ByProjectKeyMeCartsKeyByKeyPostString post(final String myCartUpdate) { - return new ByProjectKeyMeCartsKeyByKeyPostString(apiHttpClient, projectKey, key, myCartUpdate); - } - - public ByProjectKeyMeCartsKeyByKeyPost post(UnaryOperator op) { - return post(op.apply(com.commercetools.api.models.me.MyCartUpdateBuilder.of()).build()); - } - - public ByProjectKeyMeCartsKeyByKeyDelete delete() { - return new ByProjectKeyMeCartsKeyByKeyDelete(apiHttpClient, projectKey, key); - } - - public ByProjectKeyMeCartsKeyByKeyDelete delete(TValue version) { - return delete().withVersion(version); - } - -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java index 396275e930..3493a1776c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

          Creates a Cart for a given customerId or anonymousId.

          + *

          Creates a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.

          *

          Specific Error Codes:

          *
            *
          • DiscountCodeNonApplicable
          • diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPostString.java index ba75c23bf8..2f3022df5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

            Creates a Cart for a given customerId or anonymousId.

            + *

            Creates a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.

            *

            Specific Error Codes:

            *
              *
            • DiscountCodeNonApplicable
            • diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsRequestBuilder.java index a41c0743d8..385ad1b03b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsRequestBuilder.java @@ -37,10 +37,6 @@ public ByProjectKeyMeCartsPost post(UnaryOperatorReturns an Order for a given id. Returns a 200 OK status if successful.

              + *

              A ResourceNotFound error is returned in the following scenarios:

              + *
                + *
              • If no Order exists for the given id.
              • + *
              • If the Order exists but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
              • + *
              * *
              *
              diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java index 1ab8939bd6..c963354d45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java @@ -16,7 +16,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

              Checks if an Order exists for a given id. Returns a 200 OK status if the Order exists or a 404 Not Found otherwise.

              + *

              Checks if an Order exists for a given id. Returns a 200 OK status if successful.

              + *

              A ResourceNotFound error is returned in the following scenarios:

              + *
                + *
              • If no Order exists for the given id.
              • + *
              • If the Order exists but does not have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
              • + *
              * *
              *
              diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java index 25f06f12e8..a1982f99c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

              Returns all Orders that match a given Query Predicate.

              + *

              A ResourceNotFound error is returned in the following scenarios:

              + *
                + *
              • If no Orders exist for a given Query Predicate.
              • + *
              • If the Order exists but does not have a customerId that matches the customer:{id} scope, or anonymousId that matches the anonymous_id:{id} scope.
              • + *
              * *
              *
              diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java index 5fb3503302..a214dd2514 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

              Checks if an Order exists for a given Query Predicate. Returns a 200 OK status if any Orders match the Query Predicate or a 404 Not Found otherwise.

              + *

              Checks if an Order exists for a given Query Predicate. Returns a 200 OK status if successful.

              + *

              A ResourceNotFound error is returned in the following scenarios:

              + *
                + *
              • If no Order exists that matches the Query Predicate.
              • + *
              • If one or more Orders exist but don't have either a customerId that matches the customer:{id} scope, or an anonymousId that matches the anonymous_id:{id} scope.
              • + *
              * *
              *
              diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java index b617bf86a9..cf054ae5ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java @@ -20,8 +20,9 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

              The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission.

              - *

              Creating an Order produces the OrderCreated Message.

              + *

              Creates an Order from a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.

              + *

              The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission. Creating an Order produces the OrderCreated Message.

              + *

              If the Cart's customerId does not match the customer:{id} scope, or the anonymousId does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.

              *

              If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number.

              *

              Specific Error Codes:

              *
                diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPostString.java index deb4169c7e..2426827fbe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPostString.java @@ -21,8 +21,9 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission.

                - *

                Creating an Order produces the OrderCreated Message.

                + *

                Creates an Order from a Cart for the Customer or anonymous user. The customerId or anonymousId field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.

                + *

                The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyCarts Permission. Creating an Order produces the OrderCreated Message.

                + *

                If the Cart's customerId does not match the customer:{id} scope, or the anonymousId does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.

                *

                If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number.

                *

                Specific Error Codes:

                *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDDelete.java deleted file mode 100644 index 67919d30c9..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDDelete.java +++ /dev/null @@ -1,295 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
                  - *
                  - *
                  {@code
                  - *   CompletableFuture> result = apiRoot
                  - *            .withProjectKey("{projectKey}")
                  - *            .me()
                  - *            .quoteRequests()
                  - *            .withId("{ID}")
                  - *            .delete()
                  - *            .withVersion(version)
                  - *            .execute()
                  - * }
                  - *
                  - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeQuoteRequestsByIDDelete extends - TypeApiMethod - implements com.commercetools.api.client.VersionedTrait, - com.commercetools.api.client.ConflictingTrait, - com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.ErrorableTrait, - com.commercetools.api.client.Deprecatable200Trait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String ID; - - public ByProjectKeyMeQuoteRequestsByIDDelete(final ApiHttpClient apiHttpClient, String projectKey, String ID) { - super(apiHttpClient); - this.projectKey = projectKey; - this.ID = ID; - } - - public ByProjectKeyMeQuoteRequestsByIDDelete(ByProjectKeyMeQuoteRequestsByIDDelete t) { - super(t); - this.projectKey = t.projectKey; - this.ID = t.ID; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/%s", this.projectKey, this.ID); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.DELETE, URI.create(httpRequestPath), getHeaders(), null); - } - - @Override - public ApiHttpResponse executeBlocking( - final ApiHttpClient client, final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.quote_request.QuoteRequest.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.quote_request.QuoteRequest.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getID() { - return this.ID; - } - - public List getVersion() { - return this.getQueryParam("version"); - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setID(final String ID) { - this.ID = ID; - } - - /** - * set version with the specified value - * @param version value to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withVersion(final TValue version) { - return copy().withQueryParam("version", version); - } - - /** - * add additional version query parameter - * @param version value to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addVersion(final TValue version) { - return copy().addQueryParam("version", version); - } - - /** - * set version with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withVersion(final Supplier supplier) { - return copy().withQueryParam("version", supplier.get()); - } - - /** - * add additional version query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addVersion(final Supplier supplier) { - return copy().addQueryParam("version", supplier.get()); - } - - /** - * set version with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withVersion(final Function op) { - return copy().withQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * add additional version query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addVersion(final Function op) { - return copy().addQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * set version with the specified values - * @param version values to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withVersion(final Collection version) { - return copy().withoutQueryParam("version") - .addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional version query parameters - * @param version values to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addVersion(final Collection version) { - return copy().addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * set expand with the specified value - * @param expand value to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param expand value to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param expand values to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param expand values to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsByIDDelete - */ - public ByProjectKeyMeQuoteRequestsByIDDelete addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeQuoteRequestsByIDDelete that = (ByProjectKeyMeQuoteRequestsByIDDelete) o; - - return new EqualsBuilder().append(projectKey, that.projectKey).append(ID, that.ID).isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(ID).toHashCode(); - } - - @Override - protected ByProjectKeyMeQuoteRequestsByIDDelete copy() { - return new ByProjectKeyMeQuoteRequestsByIDDelete(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java index b6fd0c1963..c4e45225c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if my QuoteRequest exists for a given id. Returns a 200 OK status if the QuoteRequest exists or a 404 Not Found otherwise.

                  + *

                  Checks if a QuoteRequest exists for a given id. Returns a 200 OK status if the QuoteRequest exists or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDRequestBuilder.java index 5c0e4e6ffd..c44295fbb4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDRequestBuilder.java @@ -42,12 +42,4 @@ public ByProjectKeyMeQuoteRequestsByIDPost post( return post(op.apply(com.commercetools.api.models.me.MyQuoteRequestUpdateBuilder.of()).build()); } - public ByProjectKeyMeQuoteRequestsByIDDelete delete() { - return new ByProjectKeyMeQuoteRequestsByIDDelete(apiHttpClient, projectKey, ID); - } - - public ByProjectKeyMeQuoteRequestsByIDDelete delete(TValue version) { - return delete().withVersion(version); - } - } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java index 280f19b410..c77c09f70b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Returns all Quote Requests that match a given Query Predicate. Returns a 200 OK status if successful.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java index 88552a76ca..b42de22773 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if my QuoteRequest exists for a given Query Predicate. Returns a 200 OK status if any QuoteRequests match the Query Predicate or a 404 Not Found otherwise.

                  + *

                  Checks if a QuoteRequest exists for a given Query Predicate. Returns a 200 OK status if any QuoteRequests match the Query Predicate or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyDelete.java deleted file mode 100644 index 2c5cfe4917..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyDelete.java +++ /dev/null @@ -1,295 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *
                  - *
                  - *
                  {@code
                  - *   CompletableFuture> result = apiRoot
                  - *            .withProjectKey("{projectKey}")
                  - *            .me()
                  - *            .quoteRequests()
                  - *            .withKey("{key}")
                  - *            .delete()
                  - *            .withVersion(version)
                  - *            .execute()
                  - * }
                  - *
                  - */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class ByProjectKeyMeQuoteRequestsKeyByKeyDelete extends - TypeApiMethod - implements com.commercetools.api.client.VersionedTrait, - com.commercetools.api.client.ConflictingTrait, - com.commercetools.api.client.ExpandableTrait, - com.commercetools.api.client.ErrorableTrait, - com.commercetools.api.client.Deprecatable200Trait { - - @Override - public TypeReference resultType() { - return new TypeReference() { - }; - } - - private String projectKey; - private String key; - - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete(final ApiHttpClient apiHttpClient, String projectKey, String key) { - super(apiHttpClient); - this.projectKey = projectKey; - this.key = key; - } - - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete(ByProjectKeyMeQuoteRequestsKeyByKeyDelete t) { - super(t); - this.projectKey = t.projectKey; - this.key = t.key; - } - - @Override - protected ApiHttpRequest buildHttpRequest() { - List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/key=%s", this.projectKey, this.key); - if (!params.isEmpty()) { - httpRequestPath += "?" + String.join("&", params); - } - return new ApiHttpRequest(ApiHttpMethod.DELETE, URI.create(httpRequestPath), getHeaders(), null); - } - - @Override - public ApiHttpResponse executeBlocking( - final ApiHttpClient client, final Duration timeout) { - return executeBlocking(client, timeout, com.commercetools.api.models.quote_request.QuoteRequest.class); - } - - @Override - public CompletableFuture> execute( - final ApiHttpClient client) { - return execute(client, com.commercetools.api.models.quote_request.QuoteRequest.class); - } - - public String getProjectKey() { - return this.projectKey; - } - - public String getKey() { - return this.key; - } - - public List getVersion() { - return this.getQueryParam("version"); - } - - public List getExpand() { - return this.getQueryParam("expand"); - } - - public void setProjectKey(final String projectKey) { - this.projectKey = projectKey; - } - - public void setKey(final String key) { - this.key = key; - } - - /** - * set version with the specified value - * @param version value to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withVersion(final TValue version) { - return copy().withQueryParam("version", version); - } - - /** - * add additional version query parameter - * @param version value to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addVersion(final TValue version) { - return copy().addQueryParam("version", version); - } - - /** - * set version with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withVersion(final Supplier supplier) { - return copy().withQueryParam("version", supplier.get()); - } - - /** - * add additional version query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addVersion(final Supplier supplier) { - return copy().addQueryParam("version", supplier.get()); - } - - /** - * set version with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withVersion(final Function op) { - return copy().withQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * add additional version query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addVersion(final Function op) { - return copy().addQueryParam("version", op.apply(new StringBuilder())); - } - - /** - * set version with the specified values - * @param version values to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withVersion(final Collection version) { - return copy().withoutQueryParam("version") - .addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional version query parameters - * @param version values to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addVersion(final Collection version) { - return copy().addQueryParams( - version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList())); - } - - /** - * set expand with the specified value - * @param expand value to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withExpand(final TValue expand) { - return copy().withQueryParam("expand", expand); - } - - /** - * add additional expand query parameter - * @param expand value to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addExpand(final TValue expand) { - return copy().addQueryParam("expand", expand); - } - - /** - * set expand with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withExpand(final Supplier supplier) { - return copy().withQueryParam("expand", supplier.get()); - } - - /** - * add additional expand query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addExpand(final Supplier supplier) { - return copy().addQueryParam("expand", supplier.get()); - } - - /** - * set expand with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withExpand(final Function op) { - return copy().withQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * add additional expand query parameter - * @param op builder for the value to be added - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addExpand(final Function op) { - return copy().addQueryParam("expand", op.apply(new StringBuilder())); - } - - /** - * set expand with the specified values - * @param expand values to be set - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete withExpand(final Collection expand) { - return copy().withoutQueryParam("expand") - .addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional expand query parameters - * @param expand values to be added - * @param value type - * @return ByProjectKeyMeQuoteRequestsKeyByKeyDelete - */ - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete addExpand(final Collection expand) { - return copy().addQueryParams( - expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - - if (o == null || getClass() != o.getClass()) - return false; - - ByProjectKeyMeQuoteRequestsKeyByKeyDelete that = (ByProjectKeyMeQuoteRequestsKeyByKeyDelete) o; - - return new EqualsBuilder().append(projectKey, that.projectKey).append(key, that.key).isEquals(); - } - - @Override - public int hashCode() { - return new HashCodeBuilder(17, 37).append(projectKey).append(key).toHashCode(); - } - - @Override - protected ByProjectKeyMeQuoteRequestsKeyByKeyDelete copy() { - return new ByProjectKeyMeQuoteRequestsKeyByKeyDelete(this); - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java index c5f92ec006..3eb826da3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if my QuoteRequest exists for a given key. Returns a 200 OK status if the QuoteRequest exists or a 404 Not Found otherwise.

                  + *

                  Checks if a QuoteRequest exists for a given key. Returns a 200 OK status if the QuoteRequest exists or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder.java index 159fd15ab9..18bae9c4e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder.java @@ -42,12 +42,4 @@ public ByProjectKeyMeQuoteRequestsKeyByKeyPost post( return post(op.apply(com.commercetools.api.models.me.MyQuoteRequestUpdateBuilder.of()).build()); } - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete delete() { - return new ByProjectKeyMeQuoteRequestsKeyByKeyDelete(apiHttpClient, projectKey, key); - } - - public ByProjectKeyMeQuoteRequestsKeyByKeyDelete delete(TValue version) { - return delete().withVersion(version); - } - } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java index b2ca64b90d..12787b005a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a Quote exists for a given id. Returns a 200 OK status if the Quote exists or a 404 Not Found otherwise.

                  + *

                  Checks if a Quote exists for a given id. Returns a 200 OK status if the Quote exists or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java index 963dc07f8b..8d440f113d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a Quote exists for a given Query Predicate. Returns a 200 OK status if any Quotes match the Query Predicate or a 404 Not Found otherwise.

                  + *

                  Checks if a Quote exists for a given Query Predicate. Returns a 200 OK status if any Quotes match the Query Predicate or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java index 06597f3314..3f0fff4113 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a Quote exists for a given key. Returns a 200 OK status if the Quote exists or a 404 Not Found otherwise.

                  + *

                  Checks if a Quote exists for a given key. Returns a 200 OK status if the Quote exists or a ResourceNotFound error otherwise.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java index d7f31ed365..b3487f502f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Deletes the ShoppingList for a given id. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given id.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java index d1f88b0327..29a6cea6bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Returns a ShoppingList for a given id. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given id.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java index 6c20ac32f8..a0281700c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java @@ -16,7 +16,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a ShoppingList exists for a given id. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

                  + *

                  Checks if a ShoppingList exists for a given id. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given id.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java index 3a934acb74..bd87007a7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Updates a ShoppingList for a given id. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given id.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPostString.java index 91c66f41b7..0d9cb82021 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPostString.java @@ -21,7 +21,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Updates a ShoppingList for a given id. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given id.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java index c62c81eca2..e3af9fa120 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Returns all ShoppingLists that match the given Query Predicate. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given Query Predicate.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java index 0e5a5c634e..e9bc8d41e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a ShoppingList exists for a given Query Predicate. Returns a 200 OK status if any ShoppingLists match the Query Predicate or a 404 Not Found otherwise.

                  + *

                  Checks if a ShoppingList matches the given Query Predicate. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given Query Predicate.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java index ad5c6098be..5a5eff7806 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Deletes the ShoppingList for a given key. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given key.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java index 06f1af70de..4fd7426bd1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Returns a ShoppingList for a given key. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given key.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java index 3c1a39fe29..2b2ab61169 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java @@ -16,7 +16,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

                  Checks if a ShoppingList exists for a given key. Returns a 200 OK status if the ShoppingList exists or a 404 Not Found otherwise.

                  + *

                  Checks if a ShoppingList exists for a given key. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given key.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java index a61f3f76f7..2a11772ba1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java @@ -20,7 +20,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Updates a ShoppingList for a given key. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given key.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPostString.java index 348c8094ba..529ad1eefc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPostString.java @@ -21,7 +21,12 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Updates a ShoppingList for a given key. Returns a 200 OK status if successful.

                  + *

                  A ResourceNotFound error is returned in the following scenarios:

                  + *
                    + *
                  • If no ShoppingList exists for the given key.
                  • + *
                  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.
                  • + *
                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java index 5ea585108a..713e3edafc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Creates a ShoppingList for the Customer or anonymous user. The customerId or anonymousId on the ShoppingList is automatically set based on the given customer:{id} or anonymous_id:{id} scope.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPostString.java index 295d63032a..8ca590b3dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPostString.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

                  Creates a ShoppingList for the Customer or anonymous user. The customerId or anonymousId on the ShoppingList is automatically set based on the given customer:{id} or anonymous_id:{id} scope.

                  * *
                  *
                  diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java deleted file mode 100644 index 887419df8b..0000000000 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java +++ /dev/null @@ -1,159 +0,0 @@ - -package com.commercetools.api.client.resource; - -import java.nio.charset.StandardCharsets; -import java.util.concurrent.CompletableFuture; - -import com.commercetools.api.client.ApiRoot; -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 io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.ApiHttpClient; -import io.vrap.rmf.base.client.ApiHttpRequest; -import io.vrap.rmf.base.client.VrapHttpClient; -import io.vrap.rmf.base.client.error.ApiClientException; -import io.vrap.rmf.base.client.error.ApiServerException; -import io.vrap.rmf.base.client.utils.Generated; - -import org.assertj.core.api.Assertions; -import org.junit.jupiter.api.TestTemplate; -import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.Mockito; - -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -@ExtendWith(UseDataProviderExtension.class) -@ExtendWith(DataProviderExtension.class) -public class ByProjectKeyMeCartsKeyByKeyTest { - private final VrapHttpClient httpClientMock = Mockito.mock(VrapHttpClient.class); - private final String projectKey = "test_projectKey"; - private final static ApiRoot apiRoot = ApiRoot.of(); - private final ApiHttpClient client = ClientBuilder.of(httpClientMock).defaultClient("").build(); - - @TestTemplate - @UseDataProvider("requestWithMethodParameters") - public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { - Assertions.assertThat(httpMethod).isEqualTo(request.getMethod().name().toLowerCase()); - Assertions.assertThat(uri).isEqualTo(request.getUri().toString()); - } - - @TestTemplate - @UseDataProvider("executeMethodParameters") - public void executeServerException(HttpRequestCommand httpRequest) throws Exception { - Mockito.when(httpClientMock.execute(Mockito.any())) - .thenReturn(CompletableFuture.completedFuture( - new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); - - Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) - .hasCauseInstanceOf(ApiServerException.class); - } - - @TestTemplate - @UseDataProvider("executeMethodParameters") - public void executeClientException(HttpRequestCommand httpRequest) throws Exception { - Mockito.when(httpClientMock.execute(Mockito.any())) - .thenReturn(CompletableFuture.completedFuture( - new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); - - Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) - .hasCauseInstanceOf(ApiClientException.class); - } - - @DataProvider - public static Object[][] requestWithMethodParameters() { - return new Object[][] { - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .get() - .withExpand("expand") - .createHttpRequest(), "get", "test_projectKey/me/carts/key=test_key?expand=expand", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .get() - .createHttpRequest(), "get", "test_projectKey/me/carts/key=test_key", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .head() - .createHttpRequest(), "head", "test_projectKey/me/carts/key=test_key", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .post(com.commercetools.api.models.me.MyCartUpdate.of()) - .withExpand("expand") - .createHttpRequest(), "post", "test_projectKey/me/carts/key=test_key?expand=expand", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .post(com.commercetools.api.models.me.MyCartUpdate.of()) - .createHttpRequest(), "post", "test_projectKey/me/carts/key=test_key", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .delete() - .withVersion(2) - .createHttpRequest(), "delete", "test_projectKey/me/carts/key=test_key?version=2", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .delete() - .withExpand("expand") - .createHttpRequest(), - "delete", "test_projectKey/me/carts/key=test_key?expand=expand", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .delete() - .createHttpRequest(), "delete", "test_projectKey/me/carts/key=test_key", } }; - } - - @DataProvider - public static Object[][] executeMethodParameters() { - return new Object[][] { - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .get() - .withExpand("expand"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey").me().carts().withKey("test_key").get(), }, - new Object[] { apiRoot.withProjectKey("test_projectKey").me().carts().withKey("test_key").head(), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .post(com.commercetools.api.models.me.MyCartUpdate.of()) - .withExpand("expand"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .post(com.commercetools.api.models.me.MyCartUpdate.of()), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .delete() - .withVersion(2), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .carts() - .withKey("test_key") - .delete() - .withExpand("expand"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey").me().carts().withKey("test_key").delete(), } }; - } -} diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java index 0f99acd97c..5ef7cacae9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java @@ -99,31 +99,7 @@ public static Object[][] requestWithMethodParameters() { .quoteRequests() .withId("test_ID") .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()) - .createHttpRequest(), "post", "test_projectKey/me/quote-requests/test_ID", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withId("test_ID") - .delete() - .withVersion(2) - .createHttpRequest(), - "delete", "test_projectKey/me/quote-requests/test_ID?version=2", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withId("test_ID") - .delete() - .withExpand("expand") - .createHttpRequest(), - "delete", "test_projectKey/me/quote-requests/test_ID?expand=expand", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withId("test_ID") - .delete() - .createHttpRequest(), "delete", "test_projectKey/me/quote-requests/test_ID", } }; + .createHttpRequest(), "post", "test_projectKey/me/quote-requests/test_ID", } }; } @DataProvider @@ -149,20 +125,6 @@ public static Object[][] executeMethodParameters() { .me() .quoteRequests() .withId("test_ID") - .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withId("test_ID") - .delete() - .withVersion(2), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withId("test_ID") - .delete() - .withExpand("expand"), }, - new Object[] { - apiRoot.withProjectKey("test_projectKey").me().quoteRequests().withId("test_ID").delete(), } }; + .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()), } }; } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java index 0163e9f5fe..1153684f12 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java @@ -99,31 +99,7 @@ public static Object[][] requestWithMethodParameters() { .quoteRequests() .withKey("test_key") .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()) - .createHttpRequest(), "post", "test_projectKey/me/quote-requests/key=test_key", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete() - .withVersion(2) - .createHttpRequest(), - "delete", "test_projectKey/me/quote-requests/key=test_key?version=2", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete() - .withExpand("expand") - .createHttpRequest(), - "delete", "test_projectKey/me/quote-requests/key=test_key?expand=expand", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete() - .createHttpRequest(), "delete", "test_projectKey/me/quote-requests/key=test_key", } }; + .createHttpRequest(), "post", "test_projectKey/me/quote-requests/key=test_key", } }; } @DataProvider @@ -149,23 +125,6 @@ public static Object[][] executeMethodParameters() { .me() .quoteRequests() .withKey("test_key") - .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete() - .withVersion(2), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete() - .withExpand("expand"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .me() - .quoteRequests() - .withKey("test_key") - .delete(), } }; + .post(com.commercetools.api.models.me.MyQuoteRequestUpdate.of()), } }; } } diff --git a/references.txt b/references.txt index acb22f016e..0147ad3cfa 100644 --- a/references.txt +++ b/references.txt @@ -286,3 +286,4 @@ c2d41f9490412d38247db519a7ae49592d0761f9 575e2e7e69d920c7975e85533620a634cc7ba2e2 260a278a102d37ab4e811be43e43d96a387ff119 1097ecaee5d79d53cdff84ef51b23a1a1f84ba41 +dd89a432525ef32aad4af069a2dea5d461a991d9 From e21378f3fa93ef56a4be7cbf08b5fcb4aca4aa89 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 07:47:51 +0000 Subject: [PATCH 3/3] build(codegen): updating SDK --- .../models/subscription/ChangeSubscriptionResourceTypeId.java | 2 +- references.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java index 5533bc441e..a62798a5bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java @@ -68,7 +68,7 @@ public interface ChangeSubscriptionResourceTypeId extends JsonEnum {

                  Changes to CustomObjects.

                  */ ChangeSubscriptionResourceTypeId KEY_VALUE_DOCUMENT = ChangeSubscriptionResourceTypeIdEnum.KEY_VALUE_DOCUMENT; /** -

                  Changes to Orders. Changes to Orders via Order Edits do not trigger a Message. To achieve this, a MessageSubscription to OrderEditApplied Message is necessary.

                  */ +

                  Changes to Orders. Modifying Orders via Order Edits does not trigger a notification. To achieve this, a MessageSubscription to the OrderEditApplied Message is necessary.

                  */ ChangeSubscriptionResourceTypeId ORDER = ChangeSubscriptionResourceTypeIdEnum.ORDER; /**

                  Changes to OrderEdits.

                  */ diff --git a/references.txt b/references.txt index 0147ad3cfa..2703363b73 100644 --- a/references.txt +++ b/references.txt @@ -287,3 +287,4 @@ c2d41f9490412d38247db519a7ae49592d0761f9 260a278a102d37ab4e811be43e43d96a387ff119 1097ecaee5d79d53cdff84ef51b23a1a1f84ba41 dd89a432525ef32aad4af069a2dea5d461a991d9 +d62922ce6b28a2fca6a09501a2714c94e4a1a908