public class Customer extends Object implements TimeslotModelUpdate
| Constructor and Description |
|---|
Customer(CustomerInfo customerInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data,
Competition competition) |
void |
addTariffTransaction(TariffTransaction tx) |
CustomerInfo |
getCustomerInfo() |
CustomerModel |
getCustomerModel() |
String |
toString() |
void |
update(int timeslotIndex,
org.joda.time.Instant postedTime) |
public Customer(CustomerInfo customerInfo)
public CustomerModel getCustomerModel()
public void addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data, Competition competition)
public void addTariffTransaction(TariffTransaction tx)
public void update(int timeslotIndex,
org.joda.time.Instant postedTime)
update in interface TimeslotModelUpdatetimeslotIndex - update will be run for this timeslot index.public CustomerInfo getCustomerInfo()
Copyright © 2017 Power TAC. All rights reserved.