Package me.totalfreedom.economy
Interface Transaction
- All Known Subinterfaces:
CompletedTransaction,MutableTransaction
public interface Transaction
A class that denotes the transfer of currency between two EconomicEntity instances.
-
Method Summary
Modifier and TypeMethodDescriptionlong
-
Method Details
-
getSource
EconomicEntity getSource()- Returns:
- the initiating entity
-
getDestination
EconomicEntity getDestination()- Returns:
- the destination entity
-
getBalance
long getBalance()- Returns:
- the balance transferred in this Transaction
-