From 381b4f01d078022e9f3ea5574c9864a2afc77455 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Wed, 12 Jun 2024 07:09:12 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java | 2 +- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java | 4 +++- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java | 4 +++- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java | 2 +- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java | 4 +++- ...ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java | 4 +++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java | 2 +- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java | 2 +- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java | 1 + .../ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java | 1 + .../api/client/ByProjectKeyMeCartsByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeCartsByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeCartsByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeCartsByIDPost.java | 3 ++- .../api/client/ByProjectKeyMeCartsByIDPostString.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyMeCartsGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyMeCartsHead.java | 2 +- .../com/commercetools/api/client/ByProjectKeyMeCartsPost.java | 2 +- .../api/client/ByProjectKeyMeCartsPostString.java | 2 +- .../api/client/ByProjectKeyMeCartsReplicatePost.java | 2 +- .../api/client/ByProjectKeyMeCartsReplicatePostString.java | 2 +- references.txt | 1 + 22 files changed, 35 insertions(+), 19 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java index fd2f0ccbfbc..2f2f27059bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *
Queries carts in a specific Store.
+ *Queries Carts in a specific Store.
* *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.
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.
Checks ifa My Cart exists for a given id
. Returns a 200 OK
status if the My Cart exists or a 404 Not Found
otherwise.
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 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.
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 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.
Returns all Carts that match a given Query Predicate and contain either a matching customerId
or anonymousId
in a Store.
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 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.
Creates a Cart in the specified Store for a given customerId
or anonymousId
.
The store
field in the created Cart is set to the Store specified by the storeKey
path parameter.
Specific Error Codes: CountryNotConfiguredInStore
* 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 57511a065da..58b3e66e8de 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,6 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *Creates a Cart in the specified Store for a given customerId
or anonymousId
.
The store
field in the created Cart is set to the Store specified by the storeKey
path parameter.
Specific Error Codes: CountryNotConfiguredInStore
* 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 715251b2e6d..4cb449fe5a8 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,7 +20,8 @@ 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.
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.
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 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 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 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.
Returns all Carts that match a given Query Predicate and contain either a matching customerId
or anonymousId
.
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 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.
Creates a Cart for a given customerId
or anonymousId
.
Creates a Cart for a given customerId
or anonymousId
.
Creates a new Cart by replicating an existing Cart or Order of the authenticated Customer. This can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.
*The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in Active
CartState.
The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to initial
.
In case the Cart or Order to be replicated does not belong to the authenticaed Customer, the API returns a ResourceNotFound error
+ *If the Cart or Order to be replicated does not belong to the authenticated Customer, the API returns a ResourceNotFound error
* *Creates a new Cart by replicating an existing Cart or Order of the authenticated Customer. This can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.
*The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in Active
CartState.
The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to initial
.
In case the Cart or Order to be replicated does not belong to the authenticaed Customer, the API returns a ResourceNotFound error
+ *If the Cart or Order to be replicated does not belong to the authenticated Customer, the API returns a ResourceNotFound error
* *