Skip to content

Commit 6ce761e

Browse files
committed
build(codegen): updating SDK
1 parent 9d17e45 commit 6ce761e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/InventoryMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public interface InventoryMode extends JsonEnum {
2222
InventoryMode NONE = InventoryModeEnum.NONE;
2323
/**
2424
<p>Orders are tracked on the Inventory, and ordering a <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItem" rel="nofollow">LineItem</a> deducts the available quantity on the respective <a href="https://docs.commercetools.com/apis/ctp:api:type:InventoryEntry" rel="nofollow">InventoryEntry</a>.</p>
25-
<p>An <a href="https://docs.commercetools.com/apis/ctp:api:endpoint:/{projectKey}/orders:POST" rel="nofollow">Order can be created</a> even if the Line Item quantity is zero or negative, but if no matching Inventory Entry exists for the Line Item, an <a href="https://docs.commercetools.com/apis/ctp:api:type:OutOfStockError" rel="nofollow">OutOfStock</a> error is returned.</p> */
25+
<p>An <a href="https://docs.commercetools.com/apis/ctp:api:endpoint:/{projectKey}/orders:POST" rel="nofollow">Order can be created</a> even if the Inventory Entry quantity is zero or negative. However, if no matching Inventory Entry exists for the Line Item, an <a href="https://docs.commercetools.com/apis/ctp:api:type:OutOfStockError" rel="nofollow">OutOfStock</a> error is returned.</p> */
2626
InventoryMode TRACK_ONLY = InventoryModeEnum.TRACK_ONLY;
2727
/**
2828
<p>Line Items in a Cart are only reserved for the duration of the ordering transaction. If a Line Item is not available when <a href="https://docs.commercetools.com/apis/ctp:api:endpoint:/{projectKey}/orders:POST" rel="nofollow">creating an Order</a>, an <a href="https://docs.commercetools.com/apis/ctp:api:type:OutOfStockError" rel="nofollow">OutOfStock</a> error is returned. This is because the <a href="https://docs.commercetools.com/apis/ctp:api:type:InventoryEntry" rel="nofollow">InventoryEntry</a> <code>availableQuantity</code> is insufficient (but is still updated) for the ordered Line Item quantity.</p>

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,3 +505,4 @@ b5fec4fbabbe620e9007e5937f794799bbd68ee3
505505
053837aaa0191604eafa5aaaf8a09203075ad21f
506506
d3cb53c9923eec30fa2e9c2a753ac19b94caa014
507507
c97b1be520cd26bc9401ef9dc14b1b15a2e71e77
508+
a9036bab196a3dde968700b8bcd043559ebeec2d

0 commit comments

Comments
 (0)