|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbanking.InterAccountOperations
A class that provides inter-account operations.
Field Summary | |
(package private) static java.util.logging.Logger |
logger
|
Constructor Summary | |
InterAccountOperations()
|
Method Summary | |
static void |
transfer(Account from,
Account to,
float amount)
Performs funds transfer between two banking accounts. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static java.util.logging.Logger logger
Constructor Detail |
public InterAccountOperations()
Method Detail |
public static void transfer(Account from, Account to, float amount) throws AccountException
from
- The origin account for funds transferto
- The target account for funds transferamount
- The amount to transfer
AccountException
- If a problem occurs during
the debit
operation, e.g., insufficient balance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |