Home
Credit class
This class handles the implementation code of a transaction class for credit operations. Example | 6 shows some of the relevant Java source code in simplified format of the Credit class.
Example 8-6 Credit class
package itso.rad75.bank.model;public class Credit extends Transaction {public BigDecimal process(BigDecimal accountBalance)throws InvalidTransactionException {......return accountBalance.add(this.getAmount());......}(...)}
ibm.com/redbooks