| Package | Description |
|---|---|
| org.powertac.common | |
| org.powertac.common.repo |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCustomer.unsubscribe(TariffSubscription subscription,
int customerCount)
Unsubscribing a certain population amount from a certain subscription
|
| Modifier and Type | Method and Description |
|---|---|
TariffSubscription |
TariffSubscriptionRepo.add(TariffSubscription subscription)
Adds an existing subscription to the repo.
|
TariffSubscription |
TariffSubscriptionRepo.findSubscriptionForTariffAndCustomer(org.powertac.common.Tariff tariff,
org.powertac.common.CustomerInfo customer) |
TariffSubscription |
TariffSubscriptionRepo.getSubscription(org.powertac.common.CustomerInfo customer,
org.powertac.common.Tariff tariff)
Returns the TariffSubscription for the given Tariff/Customer pair, creating
it if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
List<TariffSubscription> |
TariffSubscriptionRepo.findActiveSubscriptionsForCustomer(org.powertac.common.CustomerInfo customer)
Returns the list of active subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForCustomer(org.powertac.common.CustomerInfo customer)
Returns the list of subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForTariff(org.powertac.common.Tariff tariff)
Returns the list of subscriptions for a given tariff.
|
List<TariffSubscription> |
TariffSubscriptionRepo.getRevokedSubscriptionList(org.powertac.common.CustomerInfo customer)
Returns the list of subscriptions for this customer that have been
revoked and have non-zero committed customer counts.
|
| Modifier and Type | Method and Description |
|---|---|
TariffSubscription |
TariffSubscriptionRepo.add(TariffSubscription subscription)
Adds an existing subscription to the repo.
|
Copyright © 2014 Power TAC. All Rights Reserved.