Package org.powertac.common
Class CashPosition
- java.lang.Object
 - 
- org.powertac.common.state.XStreamStateLoggable
 - 
- org.powertac.common.BrokerTransaction
 - 
- org.powertac.common.CashPosition
 
 
 
 
- 
@Domain(fields={"postedTimeslot","balance"}) public class CashPosition extends BrokerTransaction
A CashPosition domain instance represents the current state of a broker's cash account. An new CashPosition is sent to brokers during each timeslot. This is not public information.- Author:
 - Carsten Block, David Dauer, John Collins
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.powertac.common.BrokerTransaction
broker, id, postedTimeslot 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CashPosition(Broker broker, double balance, int timeslot) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBalance()Returns the balance in the account at the time this CashPosition was generated.StringtoString()- 
Methods inherited from class org.powertac.common.BrokerTransaction
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndex 
- 
Methods inherited from class org.powertac.common.state.XStreamStateLoggable
readResolve 
 - 
 
 -