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, isConnected
void open() throws IngenicoException
Example:
ICashDrawer
cashdrawer = CashDrawer.getInstance(context);
cashdrawer.open();
IngenicoException
- when the opening of the cash drawer failsCashDrawerInfoResult getCashDrawerInfo() throws IngenicoException
Example:
ICashDrawer
cashdrawer = CashDrawer.getInstance(context);CashDrawerInfoResult
cashdrawerResult = cashdrawer.getCashDrawerInfo();
IngenicoException
- if retrieving the cash drawer state fails