Description
Processes a loan repayment for the BaseObject entity. The repayment type and amount are determined by the provided parameters.
Parameters
| Parameter | Description |
|---|
| BaseObject | The entity that performs the repayment (Self or Target). |
| S1 | Loan product ID to repay, as defined in LoanProduct.json. |
| S2 | Repayment type: Interest (pay interest only), All (pay principal + interest in full), FixedAmount (fixed amount). |
| F1 | Repayment amount. Only used when S2 is FixedAmount. |
Examples
| Description | BaseObject | Command |
|---|
| Pay interest only on a Mortgage loan | Self | LoanRepayment |
| Pay off the full LoanShark loan (principal + interest) | Self | LoanRepayment |
| Pay a fixed amount of 1000 toward a Mortgage loan | Self | LoanRepayment |
| Pay off the full Mortgage loan for target | Target | LoanRepayment |