Published on : May 27, 2020
Whats is Processing Fees?
Sets the Range for the Processing Fees and Validates whether the Provided Processing Fees is Valid or Not
Service Used: sublan_eligibility.processing_fees
Processing fees Settings (processing_fees)
Collect | Should Processing Fees be collected If yes then processing fees must be collected though it may be set to 0 | varchar |
min outer_min max outer_max | The range in which the processing fees has to be. Outside the boundaries results in an error. For minimum: maximum of (min,outer_min) For Maximum: minimum of (max, outer_max) | varchar |
sanction_percentage | Percentage of the sanctioned amount Includes GST | Int |
fixed | The fixed processing fees for this loan. Cannot be changed. | Int |
default | The default processing fees for this loan. Cannot be changed. | Int |
sanction_min | The minimum calculated processing fees on the sanctioned amount | Int |
Logic: Calculation of Processing fees
Product Settings
-----------------
Product Settings is Compulsory (error if no settings)
Skip
--------
Allowed
Collect
--------
Should Processing fees to be collected
Default it would be Yes
Required
-----------
Required - Defaults to Calc.
Can be over written by rtsettings
Can be overwritten by Product Settings
Max
-----------------------------------
Max is compulsory
Minimum of max,outer_max
Min
--------------------------------------
Min is compulsory
Max of 0,min,outer_min
Calc Loan Tenure
-----------------------
In the Order below:
loan.loan_details.processing_fees
settings.fixed
settings.default
Calculated Max
Check
------------------
Compare that processing fees is between range
output:
Output to be consumed by UX and Channel would be different
1) processing_fees,status and message (This is used by UX)
2) Min and Max are mostly used by Channel or sublan (Form Data).
"processing_fees" => array(8)
[
"debug" => array(1)
"collect" => string(3) "yes"
"calc" => int(1180)
"min" => int(0)
"max" => NULL
"processing_fees" => float(1180)
"status" => string(7) "success"
"message" => string(26) "processing fees calculated"
]
Visual Output
