Class atm.transaction.Transaction
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class atm.transaction.Transaction

java.lang.Object
   |
   +----atm.transaction.Transaction

public class Transaction
extends Object

Variable Index

 o _atm
 o _availableBalance
 o _bank
 o _newBalance
 o _serialNumber
 o _session

Constructor Index

 o Transaction(Session, ATM, Bank)

Method Index

 o chooseTransaction(Session, ATM, Bank)
 o doTransactionUseCase()
 o finishApprovedTransaction()
 o getTransactionSpecificsFromCustomer()
 o sendToBank()

Variables

 o _session
  protected Session _session
 o _atm
  protected ATM _atm
 o _bank
  protected Bank _bank
 o _serialNumber
  protected int _serialNumber
 o _newBalance
  protected Money _newBalance
 o _availableBalance
  protected Money _availableBalance

Constructors

 o Transaction
  public Transaction(Session session,
                     ATM atm,
                     Bank bank)

Methods

 o chooseTransaction
  public static Transaction chooseTransaction(Session session,
                                              ATM atm,
                                              Bank bank)
 o doTransactionUseCase
  public int doTransactionUseCase()
 o getTransactionSpecificsFromCustomer
  public abstract int getTransactionSpecificsFromCustomer()
 o sendToBank
  public abstract int sendToBank()
 o finishApprovedTransaction
  public abstract int finishApprovedTransaction()

All Packages  Class Hierarchy  This Package  Previous  Next  Index