Interface PocketApi
public interface PocketApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(String command) Link/delink accounts to/from pocket Pockets behave as favourites.retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(String command, String body) Link/delink accounts to/from pocket Pockets behave as favourites.retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> Link/delink accounts to/from pocket Pockets behave as favourites.retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(String command, Map<String, String> headers) Link/delink accounts to/from pocket Pockets behave as favourites.retrofit2.Call<GetAccountsLinkedToPocketResponse> Retrieve accounts linked to pocket All linked loan Example Requests: self/pocketsretrofit2.Call<GetAccountsLinkedToPocketResponse> retrieveAll37(Map<String, String> headers) Retrieve accounts linked to pocket All linked loan Example Requests: self/pockets
-
Method Details
-
handleCommands8
@Headers("Content-Type:application/json") @POST("v1/self/pockets") retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(@Query("command") String command, @Body String body) Link/delink accounts to/from pocket Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts- Parameters:
command- command (optional)body- (optional)- Returns:
- Call<PostLinkDelinkAccountsToFromPocketResponse>
-
retrieveAll37
Retrieve accounts linked to pocket All linked loan Example Requests: self/pockets- Returns:
- Call<GetAccountsLinkedToPocketResponse>
-
handleCommands8
@Headers("Content-Type:application/json") @POST("v1/self/pockets") retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(@Query("command") String command) Link/delink accounts to/from pocket Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts- Parameters:
command- command (optional)body- (optional)- Returns:
- Call<PostLinkDelinkAccountsToFromPocketResponse>
-
handleCommands8
@Headers("Content-Type:application/json") @POST("v1/self/pockets") retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(@Query("command") String command, @Body String body, @HeaderMap Map<String, String> headers) Link/delink accounts to/from pocket Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts- Parameters:
command- command (optional)body- (optional)- Returns:
- Call<PostLinkDelinkAccountsToFromPocketResponse>
-
retrieveAll37
@GET("v1/self/pockets") retrofit2.Call<GetAccountsLinkedToPocketResponse> retrieveAll37(@HeaderMap Map<String, String> headers) Retrieve accounts linked to pocket All linked loan Example Requests: self/pockets- Returns:
- Call<GetAccountsLinkedToPocketResponse>
-
handleCommands8
@Headers("Content-Type:application/json") @POST("v1/self/pockets") retrofit2.Call<PostLinkDelinkAccountsToFromPocketResponse> handleCommands8(@Query("command") String command, @HeaderMap Map<String, String> headers) Link/delink accounts to/from pocket Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts- Parameters:
command- command (optional)body- (optional)- Returns:
- Call<PostLinkDelinkAccountsToFromPocketResponse>
-