Package org.killbill.billing.tenant.api
Interface TenantUserApi
-
- All Superinterfaces:
KillbillApi
public interface TenantUserApi extends KillbillApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTenantKeyValue(String key, String value, CallContext context)TenantcreateTenant(TenantData data, CallContext context)voiddeleteTenantKey(String key, CallContext context)TenantgetTenantByApiKey(String key)TenantgetTenantById(UUID tenantId)List<String>getTenantValuesForKey(String key, TenantContext context)Map<String,List<String>>searchTenantKeyValues(String searchKey, TenantContext context)voidupdateTenantKeyValue(String key, String value, CallContext context)
-
-
-
Method Detail
-
createTenant
Tenant createTenant(TenantData data, CallContext context) throws TenantApiException
- Throws:
TenantApiException
-
getTenantByApiKey
Tenant getTenantByApiKey(String key) throws TenantApiException
- Throws:
TenantApiException
-
getTenantById
Tenant getTenantById(UUID tenantId) throws TenantApiException
- Throws:
TenantApiException
-
getTenantValuesForKey
List<String> getTenantValuesForKey(String key, TenantContext context) throws TenantApiException
- Throws:
TenantApiException
-
searchTenantKeyValues
Map<String,List<String>> searchTenantKeyValues(String searchKey, TenantContext context) throws TenantApiException
- Throws:
TenantApiException
-
addTenantKeyValue
void addTenantKeyValue(String key, String value, CallContext context) throws TenantApiException
- Throws:
TenantApiException
-
updateTenantKeyValue
void updateTenantKeyValue(String key, String value, CallContext context) throws TenantApiException
- Throws:
TenantApiException
-
deleteTenantKey
void deleteTenantKey(String key, CallContext context) throws TenantApiException
- Throws:
TenantApiException
-
-