Skip to content

Commit 04448ce

Browse files
committed
build(codegen): updating SDK
1 parent 7c9a38f commit 04448ce

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public interface ProductDraft
9595
public List<CategoryResourceIdentifier> getCategories();
9696

9797
/**
98-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
98+
* <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 InvalidOperation error is returned.</p>
9999
* @return categoryOrderHints
100100
*/
101101
@Valid
@@ -235,7 +235,7 @@ public interface ProductDraft
235235
public void setCategories(final List<CategoryResourceIdentifier> categories);
236236

237237
/**
238-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
238+
* <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 InvalidOperation error is returned.</p>
239239
* @param categoryOrderHints value to be set
240240
*/
241241

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public ProductDraftBuilder setCategories(
325325
}
326326

327327
/**
328-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
328+
* <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 InvalidOperation error is returned.</p>
329329
* @param builder function to build the categoryOrderHints value
330330
* @return Builder
331331
*/
@@ -338,7 +338,7 @@ public ProductDraftBuilder categoryOrderHints(
338338
}
339339

340340
/**
341-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
341+
* <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 InvalidOperation error is returned.</p>
342342
* @param builder function to build the categoryOrderHints value
343343
* @return Builder
344344
*/
@@ -350,7 +350,7 @@ public ProductDraftBuilder withCategoryOrderHints(
350350
}
351351

352352
/**
353-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
353+
* <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 InvalidOperation error is returned.</p>
354354
* @param categoryOrderHints value to be set
355355
* @return Builder
356356
*/
@@ -788,7 +788,7 @@ public java.util.List<com.commercetools.api.models.category.CategoryResourceIden
788788
}
789789

790790
/**
791-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
791+
* <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 InvalidOperation error is returned.</p>
792792
* @return categoryOrderHints
793793
*/
794794

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public java.util.List<com.commercetools.api.models.category.CategoryResourceIden
154154
}
155155

156156
/**
157-
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
157+
* <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 InvalidOperation error is returned.</p>
158158
*/
159159

160160
public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderHints() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface ProductSetCategoryOrderHintAction extends ProductUpdateAction {
3737
String SET_CATEGORY_ORDER_HINT = "setCategoryOrderHint";
3838

3939
/**
40-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
40+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an InvalidOperation error is returned.</p>
4141
* @return categoryId
4242
*/
4343
@NotNull
@@ -61,7 +61,7 @@ public interface ProductSetCategoryOrderHintAction extends ProductUpdateAction {
6161
public Boolean getStaged();
6262

6363
/**
64-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
64+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an InvalidOperation error is returned.</p>
6565
* @param categoryId value to be set
6666
*/
6767

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ProductSetCategoryOrderHintActionBuilder implements Builder<Product
3232
private Boolean staged;
3333

3434
/**
35-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
35+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an InvalidOperation error is returned.</p>
3636
* @param categoryId value to be set
3737
* @return Builder
3838
*/
@@ -65,7 +65,7 @@ public ProductSetCategoryOrderHintActionBuilder staged(@Nullable final Boolean s
6565
}
6666

6767
/**
68-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
68+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an InvalidOperation error is returned.</p>
6969
* @return categoryId
7070
*/
7171

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public String getAction() {
5858
}
5959

6060
/**
61-
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
61+
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>. If this Category is not assigned to the Product, an InvalidOperation error is returned.</p>
6262
*/
6363

6464
public String getCategoryId() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,4 @@ f0288f95a5fe33fd2973df3f8290defb15129192
402402
21aedcd93ff144743f0570a5fd0b65af601baa76
403403
761762c7caad45bc86b08db7021a033fff18ba90
404404
dec65e707130185745930bde27ce78ae64ab29c1
405+
356beed6a818fbf0e5a7f5c4e938d02c2ca174ec

0 commit comments

Comments
 (0)