CoCoME System Tests

org.cocome.tradingsystem.systests.interfaces
Interface ICashDesk


public interface ICashDesk

The main interface of a single cash desk. This is the view the environment (and thus the system test) has on the system, so the cash desk is just a provider for a number of peripheral devices.

Version:
$Rev: 65 $
Author:
Benjamin Hummel, Christian Pfaller, $Author: hummel $

Method Summary
 IBarcodeScanner getBarcodeScanner()
          Returns the bar code scanner for this cash desk.
 ICardReader getCardReader()
          Returns the card reader for this cash desk.
 ICashBox getCashBox()
          Returns the cashbox for this cash desk.
 ILightsDisplay getLightsDisplay()
          Returns the lights display for this cash desk.
 int getNumberOfExpressSalesForExpressModeSwitch()
          Specifies the number of express sales (sales with less then 8 itmes) needed to switch cash desk in express mode
 IPrinter getPrinter()
          Returns the printer for this cash desk.
 IUserDisplay getUserDisplay()
          Returns the user display for this cash desk.
 

Method Detail

getCardReader

ICardReader getCardReader()
                          throws java.lang.Exception
Returns the card reader for this cash desk.

Throws:
java.lang.Exception

getCashBox

ICashBox getCashBox()
                    throws java.lang.Exception
Returns the cashbox for this cash desk.

Throws:
java.lang.Exception

getBarcodeScanner

IBarcodeScanner getBarcodeScanner()
                                  throws java.lang.Exception
Returns the bar code scanner for this cash desk.

Throws:
java.lang.Exception

getPrinter

IPrinter getPrinter()
                    throws java.lang.Exception
Returns the printer for this cash desk.

Throws:
java.lang.Exception

getUserDisplay

IUserDisplay getUserDisplay()
                            throws java.lang.Exception
Returns the user display for this cash desk.

Throws:
java.lang.Exception

getLightsDisplay

ILightsDisplay getLightsDisplay()
                                throws java.lang.Exception
Returns the lights display for this cash desk.

Throws:
java.lang.Exception

getNumberOfExpressSalesForExpressModeSwitch

int getNumberOfExpressSalesForExpressModeSwitch()
Specifies the number of express sales (sales with less then 8 itmes) needed to switch cash desk in express mode


CoCoME System Tests

CoCoME System Tests - 0.1