Package org.api.cardtrader.services
Class CardTraderService
java.lang.Object
org.api.cardtrader.services.CardTraderService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProduct(String identifier, Identifier idRef, double price, int qty, String description, ConditionEnum condition, String userDataField) voidclearCache(String k) voiddeleteProduct(Integer identifier) voiddownloadProducts(Integer gameId, Integer categoryId, File f) getApp()getCategoryById(int id) getExpansionByCode(String code) getExpansionById(int id) getGameById(int id) getToken()listBluePrints(Categorie category, String name, Expansion expansion) listBluePrintsByIds(Integer categoryId, String name, Integer expansionid) listMarketProduct(Integer expansionid) listOrdersDetails(int idOrder) voidupdateProduct(Integer identifier, Double price, Integer qty, String description, ConditionEnum condition, String userDataField)
-
Field Details
-
logger
protected org.apache.log4j.Logger logger
-
-
Constructor Details
-
CardTraderService
-
-
Method Details
-
getToken
-
clearCache
-
getApp
-
listGames
-
listCategories
-
getCategoryById
-
getGameById
-
getExpansionById
-
getExpansionByCode
-
listExpansions
-
listMarketProduct
-
listStock
-
listMarketProduct
-
listMarketProduct
-
listBluePrints
-
listBluePrintsByIds
-
downloadProducts
public void downloadProducts(@Nonnull Integer gameId, @Nonnull Integer categoryId, File f) throws IOException - Throws:
IOException
-
addProduct
public Integer addProduct(@Nonnull String identifier, @Nonnull Identifier idRef, @Nonnull double price, @Nonnull int qty, String description, ConditionEnum condition, String userDataField) throws IOException - Throws:
IOException
-
updateProduct
public void updateProduct(@Nonnull Integer identifier, Double price, Integer qty, String description, ConditionEnum condition, String userDataField) throws IOException - Throws:
IOException
-
deleteProduct
- Throws:
IOException
-
listOrders
-
listOrdersDetails
-