CoCoME System Tests

org.cocome.tradingsystem.systests.interfaces
Interface ICardReader


public interface ICardReader

The interface for the card reader used to get credit card information and enter the card pin.

Version:
$Rev: 47 $
Author:
Benjamin Hummel, $Author: hummel $

Method Summary
 void enterCard(int cardNumber)
          Reports the number read from the credit card.
 void enterPin(int pin)
          Reports the pin entered at the card reader.
 

Method Detail

enterCard

void enterCard(int cardNumber)
               throws java.lang.Exception
Reports the number read from the credit card. If the implementation represents credit card numbers using some specialized data structure, the test driver is responsible for mapping the integer numbers to those data structures and back.

Parameters:
cardNumber - the number of the credit card.
Throws:
java.lang.Exception

enterPin

void enterPin(int pin)
              throws java.lang.Exception
Reports the pin entered at the card reader. If the implementation represents pin numbers using some specialized data structure, the test driver is responsible for mapping the integer numbers to those data structures and back.

Parameters:
pin - the pin code entered by the user.
Throws:
java.lang.Exception

CoCoME System Tests

CoCoME System Tests - 0.1