Skip to content

Commit 20fc54a

Browse files
committed
build(codegen): updating SDK
1 parent 4e0c510 commit 20fc54a

14 files changed

+36
-19
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.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>Creates an Order from a Cart in a BusinessUnit. The Cart must have a shipping address set before creating an Order. Creating an Order fails with an InvalidOperation if the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
23+
* <p>Creates an Order from a Cart in a BusinessUnit.</p>
24+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
25+
* <p>If the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter, an InvalidOperation is returned.</p>
2426
* <p>Specific Error Codes:</p>
2527
* <ul>
2628
* <li>DiscountCodeNonApplicable</li>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.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>Creates an Order from a Cart in a BusinessUnit. The Cart must have a shipping address set before creating an Order. Creating an Order fails with an InvalidOperation if the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
24+
* <p>Creates an Order from a Cart in a BusinessUnit.</p>
25+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
26+
* <p>If the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter, an InvalidOperation is returned.</p>
2527
* <p>Specific Error Codes:</p>
2628
* <ul>
2729
* <li>DiscountCodeNonApplicable</li>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
/**
2323
* <p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
24-
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
24+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
25+
* <p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
2526
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
2627
* <p>Creating an Order produces the OrderCreated Message.</p>
2728
* <p>Specific Error Codes:</p>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
/**
2424
* <p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
25-
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
25+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
26+
* <p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
2627
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
2728
* <p>Creating an Order produces the OrderCreated Message.</p>
2829
* <p>Specific Error Codes:</p>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Creates an Order from a Cart in a Store. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
24-
* <p>Creating an Order produces the OrderCreated Message. 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.</p>
23+
* <p>Creates an Order from a Cart in a Store. The Cart must have a shipping address and an active Shipping Method set.</p>
24+
* <p>The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
25+
* <p>Creating an Order produces the OrderCreated Message.</p>
26+
* <p>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.</p>
2527
* <p>Specific Error Codes:</p>
2628
* <ul>
2729
* <li>OutOfStock</li>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>Creates an Order from a Cart in a Store. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
25-
* <p>Creating an Order produces the OrderCreated Message. 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.</p>
24+
* <p>Creates an Order from a Cart in a Store. The Cart must have a shipping address and an active Shipping Method set.</p>
25+
* <p>The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
26+
* <p>Creating an Order produces the OrderCreated Message.</p>
27+
* <p>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.</p>
2628
* <p>Specific Error Codes:</p>
2729
* <ul>
2830
* <li>OutOfStock</li>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121

2222
/**
2323
* <p>Creates an Order from a Cart for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
24-
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission. Creating an Order produces the OrderCreated Message.</p>
24+
* <p>The Cart must have a shipping address and an active Shipping Method set. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
2525
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
26+
* <p>Creating an Order produces the OrderCreated Message.</p>
2627
* <p>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.</p>
2728
* <p>Specific Error Codes:</p>
2829
* <ul>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222

2323
/**
2424
* <p>Creates an Order from a Cart for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
25-
* <p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission. Creating an Order produces the OrderCreated Message.</p>
25+
* <p>The Cart must have a shipping address and an active Shipping Method set. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
2626
* <p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
27+
* <p>Creating an Order produces the OrderCreated Message.</p>
2728
* <p>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.</p>
2829
* <p>Specific Error Codes:</p>
2930
* <ul>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPost.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>Creates an Order from a Cart. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
23+
* <p>Creates an Order from a Cart.</p>
24+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
25+
* <p>The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
2426
* <p>Creating an Order produces the OrderCreated Message.</p>
2527
* <p>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.</p>
2628
* <p>Specific Error Codes:</p>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPostString.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>Creates an Order from a Cart. Before you create an Order, the Cart must have a shipping address set. The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
24+
* <p>Creates an Order from a Cart.</p>
25+
* <p>The Cart must have a shipping address and an active Shipping Method set.</p>
26+
* <p>The shipping address is used for tax calculation for a Cart with <code>Platform</code> TaxMode.</p>
2527
* <p>Creating an Order produces the OrderCreated Message.</p>
2628
* <p>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.</p>
2729
* <p>Specific Error Codes:</p>

0 commit comments

Comments
 (0)