| Package | Description |
|---|---|
| net.nowtryz.cafetapi |
Main package for the Cafet API, the API that connect the application to the server
|
| net.nowtryz.cafetapi.parsers |
Parsers collection
|
| net.nowtryz.cafetapi.results |
Results managing system
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsyncHandler.AsyncResultHandler<S extends Result> |
| Modifier and Type | Method and Description |
|---|---|
Result |
CafetAPI.addProductToChoice(int choiceId,
int... productIds) |
Result |
CafetAPI.removeFormula(int formulaId) |
Result |
CafetAPI.removeFormulaChoice(int choiceId) |
Result |
CafetAPI.removeProduct(int productId) |
Result |
CafetAPI.removeProductFromChoice(int choiceId,
int... productIds) |
Result |
CafetAPI.removeProductGroup(int groupId) |
Result |
CafetAPI.saveOrder(int clientId,
Map<Product,Integer> products,
Map<OrderBuilder.FormulaBuilder,Product[]> formulas) |
Result |
CafetAPI.saveReload(int clientId,
float amount) |
Result |
CafetAPI.setChoiceName(int choiceId,
String name) |
Result |
CafetAPI.setFormulaImage(int formulaId,
Image image,
String format) |
Result |
CafetAPI.setFormulaName(int formulaId,
String name) |
Result |
CafetAPI.setFormulaPrice(int formulaId,
float price) |
Result |
CafetAPI.setFormulaVisibility(int formulaId,
boolean visilility) |
Result |
CafetAPI.setProductGroup(int productId,
int groupId) |
Result |
CafetAPI.setProductGroupDisplayName(int groupId,
String displayName) |
Result |
CafetAPI.setProductGroupName(int groupId,
String name) |
Result |
CafetAPI.setProductImage(int productId,
Image image,
String format) |
Result |
CafetAPI.setProductName(int productId,
String name) |
Result |
CafetAPI.setProductPrice(int productId,
float price) |
Result |
CafetAPI.setProductVisibility(int productId,
boolean visilility) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractParser<T extends Result> |
| Modifier and Type | Method and Description |
|---|---|
Result |
DefaultParser.parse(HTTPResponse response) |
static Result |
DefaultParser.parseResponse(HTTPResponse response) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayResult<T extends CafetData> |
class |
DataResult<T extends CafetData> |
class |
ErrorResult |
class |
LoginResult |
Copyright © 2019 Nowtryz. All rights reserved.