Skip to content

Commit 381b4f0

Browse files
committed
build(codegen): updating SDK
1 parent ccacc4a commit 381b4f0

22 files changed

+35
-19
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Queries carts in a specific Store.</p>
23+
* <p>Queries Carts in a specific Store.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Deletes the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
24+
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
25+
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
2426
*
2527
* <hr>
2628
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Returns a Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
24+
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
25+
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
2426
*
2527
* <hr>
2628
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks ifa My Cart exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the My Cart exists or a <code>404 Not Found</code> otherwise.</p>
19+
*
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
23+
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
24+
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
25+
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
2426
*
2527
* <hr>
2628
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPostString.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
24+
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
25+
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
26+
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
2527
*
2628
* <hr>
2729
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
*
23+
* <p>Returns all Carts that match a given Query Predicate and contain either a matching <code>customerId</code> or <code>anonymousId</code> in a Store.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Checks if a Cart exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Carts match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
23+
* <p>Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching <code>customerId</code> or <code>anonymousId</code>. Returns a <code>200 OK</code> status if any Carts match these conditions, or a <code>404 Not Found</code> otherwise.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23+
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
2324
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
2425
* <p>Specific Error Codes: CountryNotConfiguredInStore</p>
2526
*

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPostString.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24+
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
2425
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
2526
* <p>Specific Error Codes: CountryNotConfiguredInStore</p>
2627
*

0 commit comments

Comments
 (0)