Skip to content

Commit e87ceca

Browse files
Merge pull request #366 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents b145bde + 49c726f commit e87ceca

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

lib/commercetools-api/src/Models/Product/ProductDraft.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getDescription();
8989
public function getCategories();
9090

9191
/**
92-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
92+
* <p>Numerical values to allow ordering of Products within specified Categories. If the referenced Categories are not also assigned in the <code>categories</code> field, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
9393
*
9494
9595
* @return null|CategoryOrderHints

lib/commercetools-api/src/Models/Product/ProductDraftBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function getCategories()
202202
}
203203

204204
/**
205-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
205+
* <p>Numerical values to allow ordering of Products within specified Categories. If the referenced Categories are not also assigned in the <code>categories</code> field, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
206206
*
207207
208208
* @return null|CategoryOrderHints

lib/commercetools-api/src/Models/Product/ProductDraftModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public function getCategories()
301301
}
302302

303303
/**
304-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
304+
* <p>Numerical values to allow ordering of Products within specified Categories. If the referenced Categories are not also assigned in the <code>categories</code> field, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
305305
*
306306
*
307307
* @return null|CategoryOrderHints

lib/commercetools-api/src/Models/Product/ProductSetCategoryOrderHintAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ProductSetCategoryOrderHintAction extends ProductUpdateAction
1818
public const FIELD_STAGED = 'staged';
1919

2020
/**
21-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
21+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
2222
*
2323
2424
* @return null|string

lib/commercetools-api/src/Models/Product/ProductSetCategoryOrderHintActionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class ProductSetCategoryOrderHintActionBuilder implements Builder
3939
private $staged;
4040

4141
/**
42-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
42+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
4343
*
4444
4545
* @return null|string

lib/commercetools-api/src/Models/Product/ProductSetCategoryOrderHintActionModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function getAction()
7979
}
8080

8181
/**
82-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
82+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an <a href="ctp:api:type:InvalidOperationError">InvalidOperation</a> error is returned.</p>
8383
*
8484
*
8585
* @return null|string

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,4 @@ f0288f95a5fe33fd2973df3f8290defb15129192
405405
761762c7caad45bc86b08db7021a033fff18ba90
406406
b32dd9c6633745d71fb526473fed6cc60e1fab0a
407407
dec65e707130185745930bde27ce78ae64ab29c1
408+
356beed6a818fbf0e5a7f5c4e938d02c2ca174ec

0 commit comments

Comments
 (0)