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
-
Fields inherited from class org.powertac.common.BrokerTransaction
broker, id, postedTimeslot
-
-
Constructor Summary
Constructors Constructor Description BankTransaction(Broker broker, double amount, int time)
Constructs a new BankTransaction instance, giving it a new id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAmount()
-
Methods inherited from class org.powertac.common.BrokerTransaction
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndex
-
Methods inherited from class org.powertac.common.state.XStreamStateLoggable
readResolve
-
-
-
-
Constructor Detail
-
BankTransaction
public BankTransaction(Broker broker, double amount, int time)
Constructs a new BankTransaction instance, giving it a new id.
-
-