org.apache.stratos.common
Interface TenantBillingService


public interface TenantBillingService

The OSGI service interface that enables tenant related billing actions.


Method Summary
 void activateUsagePlan(String tenantDomain)
           
 void addUsagePlan(org.wso2.carbon.user.api.Tenant tenant, String usagePlan)
           
 void deactivateActiveUsagePlan(String tenantDomain)
           
 void deleteBillingData(int tenantId)
           
 String getActiveUsagePlan(String tenantDomain)
           
 void updateUsagePlan(String tenantDomain, String usagePlan)
           
 

Method Detail

addUsagePlan

void addUsagePlan(org.wso2.carbon.user.api.Tenant tenant,
                  String usagePlan)
                  throws StratosException
Throws:
StratosException

getActiveUsagePlan

String getActiveUsagePlan(String tenantDomain)
                          throws StratosException
Throws:
StratosException

updateUsagePlan

void updateUsagePlan(String tenantDomain,
                     String usagePlan)
                     throws StratosException
Throws:
StratosException

activateUsagePlan

void activateUsagePlan(String tenantDomain)
                       throws StratosException
Throws:
StratosException

deactivateActiveUsagePlan

void deactivateActiveUsagePlan(String tenantDomain)
                               throws StratosException
Throws:
StratosException

deleteBillingData

void deleteBillingData(int tenantId)
                       throws StratosException
Throws:
StratosException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.