Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public interface ProductDraft
public List<CategoryResourceIdentifier> getCategories();

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @return categoryOrderHints
*/
@Valid
Expand Down Expand Up @@ -235,7 +235,7 @@ public interface ProductDraft
public void setCategories(final List<CategoryResourceIdentifier> categories);

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @param categoryOrderHints value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public ProductDraftBuilder setCategories(
}

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @param builder function to build the categoryOrderHints value
* @return Builder
*/
Expand All @@ -338,7 +338,7 @@ public ProductDraftBuilder categoryOrderHints(
}

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @param builder function to build the categoryOrderHints value
* @return Builder
*/
Expand All @@ -350,7 +350,7 @@ public ProductDraftBuilder withCategoryOrderHints(
}

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @param categoryOrderHints value to be set
* @return Builder
*/
Expand Down Expand Up @@ -788,7 +788,7 @@ public java.util.List<com.commercetools.api.models.category.CategoryResourceIden
}

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
* @return categoryOrderHints
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public java.util.List<com.commercetools.api.models.category.CategoryResourceIden
}

/**
* <p>Numerical values to allow ordering of Products within a specified Category.</p>
* <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>
*/

public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderHints() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface ProductSetCategoryOrderHintAction extends ProductUpdateAction {
String SET_CATEGORY_ORDER_HINT = "setCategoryOrderHint";

/**
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
* <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>
* @return categoryId
*/
@NotNull
Expand All @@ -61,7 +61,7 @@ public interface ProductSetCategoryOrderHintAction extends ProductUpdateAction {
public Boolean getStaged();

/**
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
* <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>
* @param categoryId value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ProductSetCategoryOrderHintActionBuilder implements Builder<Product
private Boolean staged;

/**
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
* <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>
* @param categoryId value to be set
* @return Builder
*/
Expand Down Expand Up @@ -65,7 +65,7 @@ public ProductSetCategoryOrderHintActionBuilder staged(@Nullable final Boolean s
}

/**
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
* <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>
* @return categoryId
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public String getAction() {
}

/**
* <p>The <code>id</code> of the Category to add the <code>orderHint</code>.</p>
* <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>
*/

public String getCategoryId() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -402,3 +402,4 @@ f0288f95a5fe33fd2973df3f8290defb15129192
21aedcd93ff144743f0570a5fd0b65af601baa76
761762c7caad45bc86b08db7021a033fff18ba90
dec65e707130185745930bde27ce78ae64ab29c1
356beed6a818fbf0e5a7f5c4e938d02c2ca174ec