feat: add recurring deposit action (deposit) (#1039)

Fixes: #1025
This commit is contained in:
Muskan Khedia
2020-07-08 23:41:07 +05:30
committed by GitHub
parent 7fe4a1d92f
commit cf13a73755
11 changed files with 263 additions and 5 deletions
@@ -112,4 +112,14 @@ export class RecurringDepositsService {
const httpParams = new HttpParams().set('command', command);
return this.http.get(`/recurringdepositaccounts/${accountId}/template`, { params: httpParams });
}
/**
* Returns the transaction template for the recurring deposits action
* @param accountId Account Id
* @param command Command
*/
getRecurringDepositAccountTransactionTemplateResource(accountId: any, command: string): Observable<any> {
const httpParams = new HttpParams().set('command', command);
return this.http.get(`/recurringdepositaccounts/${accountId}/transactions/template`, { params: httpParams });
}
}