feat: add recurring deposits action (close) (#1038)

Fixes: #1019
This commit is contained in:
Muskan Khedia
2020-07-08 22:11:13 +05:30
committed by GitHub
parent 7f33fc23c9
commit 7fe4a1d92f
10 changed files with 286 additions and 3 deletions
@@ -103,4 +103,13 @@ export class RecurringDepositsService {
return this.http.put(`/recurringdepositaccounts/${accountId}`, recurringDepositAccountData);
}
/**
* Returns the template for the recurring deposits action
* @param accountId Account Id
* @param command Command
*/
getRecurringDepositAccountActionResource(accountId: any, command: string): Observable<any> {
const httpParams = new HttpParams().set('command', command);
return this.http.get(`/recurringdepositaccounts/${accountId}/template`, { params: httpParams });
}
}