public class ResellerAccountController extends BaseController
httpCallBack| Constructor and Description |
|---|
ResellerAccountController() |
| Modifier and Type | Method and Description |
|---|---|
String |
createResellerAccount(ResellerAccount resellerAccount)
Create reseller account
|
void |
createResellerAccountAsync(ResellerAccount resellerAccount,
APICallBack<String> callBack)
Create reseller account
|
static ResellerAccountController |
getInstance()
Singleton pattern implementation
|
String |
getResellerAccount(int clientUserId)
Get Reseller Account
|
void |
getResellerAccountAsync(int clientUserId,
APICallBack<String> callBack)
Get Reseller Account
|
String |
getResellerAccounts()
Get list of reseller accounts
|
void |
getResellerAccountsAsync(APICallBack<String> callBack)
Get list of reseller accounts
|
String |
updateResellerAccount(int clientUserId,
ResellerAccount resellerAccount)
Reseller Account
|
void |
updateResellerAccountAsync(int clientUserId,
ResellerAccount resellerAccount,
APICallBack<String> callBack)
Reseller Account
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static ResellerAccountController getInstance()
public String updateResellerAccount(int clientUserId, ResellerAccount resellerAccount) throws Throwable
clientUserId - Required parameter: Example:resellerAccount - Required parameter: Example:Throwablepublic void updateResellerAccountAsync(int clientUserId,
ResellerAccount resellerAccount,
APICallBack<String> callBack)
throws com.fasterxml.jackson.core.JsonProcessingException
clientUserId - Required parameter: Example:resellerAccount - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getResellerAccounts() throws Throwable
Throwablepublic void getResellerAccountsAsync(APICallBack<String> callBack)
public String createResellerAccount(ResellerAccount resellerAccount) throws Throwable
resellerAccount - Required parameter: Example:Throwablepublic void createResellerAccountAsync(ResellerAccount resellerAccount, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
resellerAccount - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getResellerAccount(int clientUserId) throws Throwable
clientUserId - Required parameter: Example:Throwablepublic void getResellerAccountAsync(int clientUserId,
APICallBack<String> callBack)
clientUserId - Required parameter: Example:Copyright © 2017. All rights reserved.