Skip to content

Commit dc6061d

Browse files
Merge pull request #689 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 13d8176 + 41faf29 commit dc6061d

File tree

95 files changed

+521
-228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+521
-228
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121

2222
/**
2323
* <p>Creates a Cart in the BusinessUnit referenced by <code>businessUnitKey</code>. As such, the <code>businessUnit</code> field on CartDraft is ignored for this request. Creating a Cart can fail with an InvalidOperation if the referenced ShippingMethod in the CartDraft has a predicate that does not match the Cart.</p>
24+
* <p>Specific Error Codes:</p>
25+
* <ul>
26+
* <li>DiscountCodeNonApplicable</li>
27+
* <li>InvalidItemShippingDetails</li>
28+
* <li>MatchingPriceNotFound</li>
29+
* <li>MissingTaxRateForCountry</li>
30+
* </ul>
2431
*
2532
* <hr>
2633
* <div class=code-example>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222

2323
/**
2424
* <p>Creates a Cart in the BusinessUnit referenced by <code>businessUnitKey</code>. As such, the <code>businessUnit</code> field on CartDraft is ignored for this request. Creating a Cart can fail with an InvalidOperation if the referenced ShippingMethod in the CartDraft has a predicate that does not match the Cart.</p>
25+
* <p>Specific Error Codes:</p>
26+
* <ul>
27+
* <li>DiscountCodeNonApplicable</li>
28+
* <li>InvalidItemShippingDetails</li>
29+
* <li>MatchingPriceNotFound</li>
30+
* <li>MissingTaxRateForCountry</li>
31+
* </ul>
2532
*
2633
* <hr>
2734
* <div class=code-example>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
* <p>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 <code>Active</code> CartState.</p>
2121
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
2222
* <p>If the Cart exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
23+
* <p>Specific Error Codes:</p>
24+
* <ul>
25+
* <li>MatchingPriceNotFound</li>
26+
* <li>MissingTaxRateForCountry</li>
27+
* </ul>
2328
*
2429
* <hr>
2530
* <div class=code-example>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
* <p>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 <code>Active</code> CartState.</p>
2222
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
2323
* <p>If the Cart exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.</p>
24+
* <p>Specific Error Codes:</p>
25+
* <ul>
26+
* <li>MatchingPriceNotFound</li>
27+
* <li>MissingTaxRateForCountry</li>
28+
* </ul>
2429
*
2530
* <hr>
2631
* <div class=code-example>

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121

2222
/**
2323
* <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>Specific Error Codes:</p>
25+
* <ul>
26+
* <li>DiscountCodeNonApplicable</li>
27+
* <li>InvalidItemShippingDetails</li>
28+
* <li>OutOfStock</li>
29+
* <li>PriceChanged</li>
30+
* <li>ShippingMethodDoesNotMatchCart</li>
31+
* <li>MatchingPriceNotFound</li>
32+
* <li>MissingTaxRateForCountry</li>
33+
* </ul>
2434
*
2535
* <hr>
2636
* <div class=code-example>

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@
2222

2323
/**
2424
* <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>
25+
* <p>Specific Error Codes:</p>
26+
* <ul>
27+
* <li>DiscountCodeNonApplicable</li>
28+
* <li>InvalidItemShippingDetails</li>
29+
* <li>OutOfStock</li>
30+
* <li>PriceChanged</li>
31+
* <li>ShippingMethodDoesNotMatchCart</li>
32+
* <li>MatchingPriceNotFound</li>
33+
* <li>MissingTaxRateForCountry</li>
34+
* </ul>
2535
*
2636
* <hr>
2737
* <div class=code-example>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717

1818
/**
1919
* <p>Creates an Order from a Quote in a BusinessUnit. Creating an Order fails with an InvalidOperation if the Quote does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
20+
* <p>Specific Error Codes:</p>
21+
* <ul>
22+
* <li>InvalidItemShippingDetails</li>
23+
* <li>OutOfStock</li>
24+
* </ul>
2025
*
2126
* <hr>
2227
* <div class=code-example>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
/**
2020
* <p>Creates an Order from a Quote in a BusinessUnit. Creating an Order fails with an InvalidOperation if the Quote does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter.</p>
21+
* <p>Specific Error Codes:</p>
22+
* <ul>
23+
* <li>InvalidItemShippingDetails</li>
24+
* <li>OutOfStock</li>
25+
* </ul>
2126
*
2227
* <hr>
2328
* <div class=code-example>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121

2222
/**
2323
* <p>Creating a Cart fails with an InvalidOperation error if the ShippingMethod referenced in the CartDraft has a <code>predicate</code> that does not match the Cart.</p>
24+
* <p>Specific Error Codes:</p>
25+
* <ul>
26+
* <li>DiscountCodeNonApplicable</li>
27+
* <li>InvalidItemShippingDetails</li>
28+
* <li>MatchingPriceNotFound</li>
29+
* <li>MissingTaxRateForCountry</li>
30+
* </ul>
2431
*
2532
* <hr>
2633
* <div class=code-example>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222

2323
/**
2424
* <p>Creating a Cart fails with an InvalidOperation error if the ShippingMethod referenced in the CartDraft has a <code>predicate</code> that does not match the Cart.</p>
25+
* <p>Specific Error Codes:</p>
26+
* <ul>
27+
* <li>DiscountCodeNonApplicable</li>
28+
* <li>InvalidItemShippingDetails</li>
29+
* <li>MatchingPriceNotFound</li>
30+
* <li>MissingTaxRateForCountry</li>
31+
* </ul>
2532
*
2633
* <hr>
2734
* <div class=code-example>

0 commit comments

Comments
 (0)