| 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
|
| Modifier and Type | Method and Description |
|---|---|
DataResult<Choice> |
CafetAPI.addChoice(String name,
int formulaId) |
DataResult<Formula> |
CafetAPI.addFormula(String name) |
DataResult<Formula> |
CafetAPI.addFormula(String name,
double price,
boolean viewable) |
DataResult<Product> |
CafetAPI.addProduct(String name,
int groupId) |
DataResult<Product> |
CafetAPI.addProduct(String name,
int groupId,
double price,
boolean viewable) |
DataResult<ProductGroup> |
CafetAPI.addProductGroup(String name) |
DataResult<Choice> |
CafetAPI.getChoice(int id) |
DataResult<Client> |
CafetAPI.getClient(int id) |
DataResult<Formula> |
CafetAPI.getFormula(int id) |
DataResult<FormulaBought> |
CafetAPI.getFormulaBought(int id) |
DataResult<Product> |
CafetAPI.getProduct(int id) |
DataResult<ProductBought> |
CafetAPI.getProductBought(int id) |
DataResult<ProductGroup> |
CafetAPI.getProductGroup(int id) |
| Modifier and Type | Method and Description |
|---|---|
DataResult<S> |
DataParser.parse(HTTPResponse response) |
static <T extends CafetData> |
DataParser.parseResponse(HTTPResponse response,
Class<T> classOfT) |
Copyright © 2019 Nowtryz. All rights reserved.