All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class atm.physical.ReceiptPrinter

java.lang.Object
   |
   +----atm.physical.ReceiptPrinter

public class ReceiptPrinter
extends Object
Manager for the ATM's receipt printer. In a real ATM, this would manage a physical device; in this simulation, it uses classes in package simulation to simulate the device.


Constructor Index

 o ReceiptPrinter()
Constructor

Method Index

 o printReceipt(Receipt)
Print a receipt

Constructors

 o ReceiptPrinter
 public ReceiptPrinter()
Constructor

Methods

 o printReceipt
 public void printReceipt(Receipt receipt)
Print a receipt

Parameters:
receipt - object containing the information to be printed

All Packages  Class Hierarchy  This Package  Previous  Next  Index