Package org.powertac.common
Class BankTransaction
java.lang.Object
org.powertac.common.state.XStreamStateLoggable
org.powertac.common.BrokerTransaction
org.powertac.common.BankTransaction
@Domain(fields={"postedTimeslot","amount"}) public class BankTransaction extends BrokerTransaction
Represents interest charges and payments for brokers. Generated by
AccountingService once/day.
- Author:
- John Collins
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BankTransaction(Broker broker, double amount, int time)Constructs a new BankTransaction instance, giving it a new id. -
Method Summary
Modifier and Type Method Description doublegetAmount()Methods inherited from class org.powertac.common.BrokerTransaction
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndex
-
Constructor Details
-
BankTransaction
Constructs a new BankTransaction instance, giving it a new id.
-
-
Method Details
-
getAmount
public double getAmount()
-