Package org.wso2.carbon.stratos.common
Interface TenantBillingService
-
public interface TenantBillingServiceThe OSGI service interface that enables tenant related billing actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivateUsagePlan(String tenantDomain)voidaddUsagePlan(org.wso2.carbon.user.api.Tenant tenant, String usagePlan)voiddeactivateActiveUsagePlan(String tenantDomain)voiddeleteBillingData(int tenantId)StringgetActiveUsagePlan(String tenantDomain)voidupdateUsagePlan(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
-
-