Uses of Class
org.powertac.common.TariffTransaction
-
Packages that use TariffTransaction Package Description org.powertac.accounting org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.interfaces -
-
Uses of TariffTransaction in org.powertac.accounting
Methods in org.powertac.accounting that return TariffTransaction Modifier and Type Method Description TariffTransaction
AccountingService. addRegulationTransaction(Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)
TariffTransaction
AccountingService. addTariffTransaction(TariffTransaction.Type txType, Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)
Methods in org.powertac.accounting that return types with arguments of type TariffTransaction Modifier and Type Method Description List<TariffTransaction>
AccountingService. getPendingTariffTransactions()
Returns the current list of pending tariff transactions.Methods in org.powertac.accounting with parameters of type TariffTransaction Modifier and Type Method Description void
AccountingService. processTransaction(TariffTransaction tx, ArrayList<Object> messages)
Processes a tariff transaction, updating the broker's cash position and the consumption, production data in the distribution report. -
Uses of TariffTransaction in org.powertac.common
Methods in org.powertac.common that return TariffTransaction Modifier and Type Method Description TariffTransaction
TransactionFactory. makeTariffTransaction(Broker broker, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge)
Creates a tariff transaction that is not a regulation transaction.TariffTransaction
TransactionFactory. makeTariffTransaction(Broker broker, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge, boolean isRegulation)
Creates a tariff transaction that could be a regulation transaction, depending on the value of the isRegulation parameter. -
Uses of TariffTransaction in org.powertac.common.interfaces
Methods in org.powertac.common.interfaces that return TariffTransaction Modifier and Type Method Description TariffTransaction
Accounting. addRegulationTransaction(Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)
Adds a tariff transaction representing a curtailment or balancing action to the current-hour transaction list.TariffTransaction
Accounting. addTariffTransaction(TariffTransaction.Type txType, Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)
Adds a tariff transaction to the current-hour transaction list.Methods in org.powertac.common.interfaces that return types with arguments of type TariffTransaction Modifier and Type Method Description List<TariffTransaction>
Accounting. getPendingTariffTransactions()
Returns the list of pending tariff transactions for the current timeslot.
-