| Package | Description |
|---|---|
| net.nowtryz.cafetapi |
Main package for the Cafet API, the API that connect the application to the server
|
| net.nowtryz.cafetapi.datas |
Data managing classes package
|
| Modifier and Type | Method and Description |
|---|---|
DataResult<Choice> |
CafetAPI.addChoice(String name,
int formulaId) |
DataResult<Choice> |
CafetAPI.getChoice(int id) |
ArrayResult<Choice> |
CafetAPI.getFormulaChoices(int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
CafetAPI.asyncAddChoice(AsyncHandler.AsyncDataHandler<Choice> handler,
String name,
int formulaId) |
void |
CafetAPI.asyncGetChoice(AsyncHandler.AsyncDataHandler<Choice> handler,
int id) |
void |
CafetAPI.asyncGetFormulaChoices(AsyncHandler.AsyncArrayHandler<Choice> handler,
int id) |
| Modifier and Type | Method and Description |
|---|---|
Choice |
Formula.createNewChoice(String name) |
Choice[] |
OrderBuilder.FormulaBuilder.getChoices() |
Choice[] |
Formula.getChoices()
Return the choices
|
| Modifier and Type | Method and Description |
|---|---|
OrderBuilder.FormulaBuilder |
OrderBuilder.FormulaBuilder.setChoice(Choice choice,
Product product) |
Copyright © 2019 Nowtryz. All rights reserved.