feat: fixed deposit account actions (approve) (#963)

Fixes: #962
This commit is contained in:
Karan Takalkar
2020-07-03 13:19:20 +05:30
committed by GitHub
parent 51616ff9fd
commit 48616be5dd
13 changed files with 315 additions and 6 deletions
@@ -24,6 +24,17 @@ export class FixedDepositsService {
return this.http.get(`/fixeddepositaccounts/${accountId}`, { params: httpParams });
}
/**
* @param {string} accountId Savings Account Id
* @param {string} command Command
* @param {any} data Data
* @returns {Observable<any>}
*/
executeFixedDepositsAccountCommand(accountId: string, command: string, data: any): Observable<any> {
const httpParams = new HttpParams().set('command', command);
return this.http.post(`/fixeddepositaccounts/${accountId}`, data, { params: httpParams });
}
/**
* @param clientId Client Id
* @param clientName Client Name