public interface ICashDrawer extends IIngenicoApi
| Modifier and Type | Method and Description |
|---|---|
CashDrawerInfoResult |
getCashDrawerInfo()
Retrieve the cash drawer state information.
|
void |
open()
Open the cash drawer.
|
connect, disconnect, isConnectedvoid open() throws IngenicoException
Example:
ICashDrawer cashdrawer = CashDrawer.getInstance(context);
cashdrawer.open();
IngenicoException - when the opening of the cash drawer failsCashDrawerInfoResult getCashDrawerInfo() throws IngenicoException
Example:
ICashDrawercashdrawer = CashDrawer.getInstance(context);CashDrawerInfoResultcashdrawerResult = cashdrawer.getCashDrawerInfo();
IngenicoException - if retrieving the cash drawer state fails