public class Tariff extends Object
TariffSpecification}| Modifier | Constructor and Description |
|---|---|
protected |
Tariff() |
|
Tariff(Broker broker,
org.powertac.common.TariffSpecification spec) |
| Modifier and Type | Method and Description |
|---|---|
Broker |
getBroker() |
double |
getEarlyWithdrawPayment() |
Long |
getExpiration() |
long |
getId() |
long |
getMinDuration() |
double |
getPeriodicPayment() |
String |
getPowerType() |
RetailKPIHolder |
getRetail() |
double |
getSignupPayment() |
long |
getTariffSpecId() |
boolean |
isActive() |
static void |
recycle() |
void |
setActive(boolean active) |
void |
setRetail(RetailKPIHolder retailKPIHolder) |
protected Tariff()
public Tariff(Broker broker, org.powertac.common.TariffSpecification spec)
public long getTariffSpecId()
public void setActive(boolean active)
public long getId()
public boolean isActive()
public Broker getBroker()
public Long getExpiration()
public long getMinDuration()
public String getPowerType()
public double getSignupPayment()
public double getEarlyWithdrawPayment()
public double getPeriodicPayment()
public RetailKPIHolder getRetail()
public void setRetail(RetailKPIHolder retailKPIHolder)
public static void recycle()
Copyright © 2017 Power TAC. All rights reserved.