Class GovernmentAccountAuditor
java.lang.Object
com.palmergames.bukkit.towny.object.economy.GovernmentAccountAuditor
- All Implemented Interfaces:
AccountAuditor,AccountObserver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever an account money is deposited to an account.Gets the formatted transactions associated with this account.Gets the transactions associated with this account.voidCalled whenever an account money is withdrawn from an account.
-
Constructor Details
-
GovernmentAccountAuditor
public GovernmentAccountAuditor()
-
-
Method Details
-
withdrew
Description copied from interface:AccountObserverCalled whenever an account money is withdrawn from an account.- Specified by:
withdrewin interfaceAccountObserver- Parameters:
account- The account withdrew from.amount- The amount withdrew.reason- The reason for withdrawing.
-
deposited
Description copied from interface:AccountObserverCalled whenever an account money is deposited to an account.- Specified by:
depositedin interfaceAccountObserver- Parameters:
account- The account deposited to.amount- The amount deposited.reason- The reason for depositing.
-
getAuditHistory
Description copied from interface:AccountAuditorGets the formatted transactions associated with this account. This should return the history in chronological order.- Specified by:
getAuditHistoryin interfaceAccountAuditor- Returns:
- The formatted transaction history from this account.
-
getTransactions
Description copied from interface:AccountAuditorGets the transactions associated with this account. This should return the history in chronological order.- Specified by:
getTransactionsin interfaceAccountAuditor- Returns:
- The transaction history from this account.
-