Untitled
unknown
plain_text
10 months ago
917 B
2
Indexable
Never
private JSONObject getAccountsForDomainWithoutDPP() throws JSONException { JSONObject response = new JSONObject(); JSONObject data = new JSONObject(); JSONObject responseInfo = new JSONObject(); if (userAccountManager.getUserBean().getIsLoggedIn()) { if (isLargeUser(userAccountManager.getUserBean().getUser())) { data.put("isLargeUser", true); } else { data.put("isLargeUser", false); data.put("accounts", ""); } responseInfo.put("error", "null"); responseInfo.put("status", "Success"); } else { responseInfo.put("error", "User not logged in"); responseInfo.put("status", "Failed"); } response.put("data",data); response.put("responseInfo", responseInfo); //data.put("data", data); return response; }