jfreerails.world.accounts
Interface Transaction

All Superinterfaces:
FreerailsSerializable, java.io.Serializable
All Known Implementing Classes:
AddItemTransaction, Bill, BondTransaction, DeliverCargoReceipt, Receipt, StockTransaction

public interface Transaction
extends FreerailsSerializable

A Transaction is a change in a player's bank balance and/or assets.

Author:
Luke Lindsay

Nested Class Summary
static class Transaction.Category
           
 
Method Summary
 Money deltaAssets()
           
 Money deltaCash()
          Positive means credit.
 Transaction.Category getCategory()
           
 

Method Detail

deltaAssets

Money deltaAssets()

deltaCash

Money deltaCash()
Positive means credit.


getCategory

Transaction.Category getCategory()