Package org.wso2.carbon.stratos.common
Interface TenantBillingService
public interface TenantBillingService
The OSGI service interface that enables tenant related billing actions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateUsagePlan(String tenantDomain) voidaddUsagePlan(org.wso2.carbon.user.api.Tenant tenant, String usagePlan) voiddeactivateActiveUsagePlan(String tenantDomain) voiddeleteBillingData(int tenantId) getActiveUsagePlan(String tenantDomain) voidupdateUsagePlan(String tenantDomain, String usagePlan)
-
Method Details
-
addUsagePlan
- Throws:
StratosException
-
getActiveUsagePlan
- Throws:
StratosException
-
updateUsagePlan
- Throws:
StratosException
-
activateUsagePlan
- Throws:
StratosException
-
deactivateActiveUsagePlan
- Throws:
StratosException
-
deleteBillingData
- Throws:
StratosException
-