Loan Repayment Schedule edition to have variations (#1608)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
25ca2b7bb0
commit
6431ede355
@@ -401,7 +401,7 @@ export class LoansService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} accountId Loans Account Id
|
||||
* @param {string} accountId Loans Account Id
|
||||
* @param {any} data Charge Data
|
||||
* @param {any} chargeId Charge Id
|
||||
* @returns {Observable<any>}
|
||||
@@ -411,7 +411,7 @@ export class LoansService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} accountId Loans Account Id
|
||||
* @param {string} accountId Loans Account Id
|
||||
* @param {any} chargeId Charge Id
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
@@ -419,6 +419,15 @@ export class LoansService {
|
||||
return this.http.delete(`/loans/${accountId}/charges/${chargeId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} loanId Loans Account Id
|
||||
* @param {string} command Schedule command
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
applyCommandLoanScheduleVariations(loanId: string, command: string, payload: any): Observable<any> {
|
||||
return this.http.post(`/loans/${loanId}/schedule?command=${command}`, payload);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} accountId Loans Account Id
|
||||
* @param {string} transactionId Transaction Id
|
||||
|
||||
Reference in New Issue
Block a user