feat: fixed deposit account actions (delete) (#967)

Fixes: #966
This commit is contained in:
Karan Takalkar
2020-07-03 14:39:32 +05:30
committed by GitHub
parent f2bedc3c32
commit 5c0941b9a9
3 changed files with 27 additions and 11 deletions
@@ -24,6 +24,14 @@ export class FixedDepositsService {
return this.http.get(`/fixeddepositaccounts/${accountId}`, { params: httpParams });
}
/**
* @param {string} accountId fixed deposits account Id
* @returns {Observable<any>}
*/
deleteFixedDepositsAccount(accountId: string): Observable<any> {
return this.http.delete(`/fixeddepositaccounts/${accountId}`);
}
/**
* @param {string} accountId Savings Account Id
* @param {string} command Command