jfreerails.world.accounts
Class BondTransaction
java.lang.Object
jfreerails.world.accounts.AddItemTransaction
jfreerails.world.accounts.BondTransaction
- All Implemented Interfaces:
- java.io.Serializable, Transaction, FreerailsSerializable
public class BondTransaction
- extends AddItemTransaction
A Transaction that adds or removes a Bond.
- Author:
- Luke
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
BOND_VALUE_ISSUE
public static final Money BOND_VALUE_ISSUE
BOND_VALUE_REPAY
public static final Money BOND_VALUE_REPAY
BondTransaction
private BondTransaction(Transaction.Category category,
int type,
int quantity,
Money amount)
issueBond
public static BondTransaction issueBond(int interestRate)
repayBond
public static BondTransaction repayBond(int interestRate)