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
-
_atm
-
-
_availableBalance
-
-
_bank
-
-
_newBalance
-
-
_serialNumber
-
-
_session
-
-
Transaction(Session, ATM, Bank)
-
-
chooseTransaction(Session, ATM, Bank)
-
-
doTransactionUseCase()
-
-
finishApprovedTransaction()
-
-
getTransactionSpecificsFromCustomer()
-
-
sendToBank()
-
_session
protected Session _session
_atm
protected ATM _atm
_bank
protected Bank _bank
_serialNumber
protected int _serialNumber
_newBalance
protected Money _newBalance
_availableBalance
protected Money _availableBalance
Transaction
public Transaction(Session session,
ATM atm,
Bank bank)
chooseTransaction
public static Transaction chooseTransaction(Session session,
ATM atm,
Bank bank)
doTransactionUseCase
public int doTransactionUseCase()
getTransactionSpecificsFromCustomer
public abstract int getTransactionSpecificsFromCustomer()
sendToBank
public abstract int sendToBank()
finishApprovedTransaction
public abstract int finishApprovedTransaction()
All Packages Class Hierarchy This Package Previous Next Index