public class MagentoCategoryManager extends MagentoHttpComponent
| Constructor and Description |
|---|
MagentoCategoryManager(MagentoClient client) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addProductToCategory(long categoryId,
String productSku,
int position) |
Category |
all() |
String |
baseUri() |
Category |
getCategoryByIdClean(long id) |
Category |
getCategoryByIdWithChildren(long id) |
List<CategoryProduct> |
getProductsInCategory(long id) |
boolean |
removeProductFromCategory(long categoryId,
String productSku) |
String |
token() |
deleteSecure, getSecured, postSecure, putSecure, validatepublic MagentoCategoryManager(MagentoClient client)
public Category all()
public Category getCategoryByIdClean(long id)
public Category getCategoryByIdWithChildren(long id)
public List<CategoryProduct> getProductsInCategory(long id)
public boolean addProductToCategory(long categoryId,
String productSku,
int position)
public String token()
token in class MagentoHttpComponentpublic String baseUri()
baseUri in class MagentoHttpComponentpublic boolean removeProductFromCategory(long categoryId,
String productSku)
Copyright © 2017. All rights reserved.