Published on : July 13, 2020

Whats is Drpline details?
Validates whether the Provided Dropline Details is Valid or Not

Service Used: sublan_eligibility.dropline_details

Dropline details Settings:

methodDropline MethodVarchar
monthDropline MonthVarchar

Logic: Calculation of Dropline details

dropline
--------------
It is loan_line_strategy
Value should be 'dropline'

sanction_amount
-------------
Get from sublan, It is required

loan_tenure
-----------
Get loan tenure from sublan, It is required

dropline_method
--------------
Dropline method, get from settings, It is required
It is one of the following :
1) every_n_month
2) every_month_from_second_month
3) full_end

no_of_instalments
-------------
calculate using method and loan_tenure

start_cycle
------------
calculate using 'month' from settings

dropline_months
----------------
Calculated from loan_tenure

reduce_amount
----------------
It is ending_balance / no_of_instalments

bbal
------------
It is ending balance

dropline_reduced
---------------
Credit line reduced

dropline_total
----------------
Total no of instalments

generated_date
---------------
Current Date

Output :

"dropline_details"          =>  array(17) 
[
"debug" => array(3)
"skip" => string(2) "no"
"dropline" => string(8) "dropline"
"sanction_amount" => string(6) "100000"
"loan_tenure" => string(2) "60"
"dropline_method" => string(29) "every_month_from_second_month"
"start_cycle" => int(2)
"no_of_instalments" => int(59)
"dropline_months" => int(1)
"reduce_amount" => float(1695)
"bbal" => float(100000)
"updated_schedule" => array(60)
"dropline_reduced" => float(100000)
"dropline_total" => int(60)
"generated_date" => string(8) "20200713"
"status" => string(7) "success"
"message" => string(19) "dropline calculated"
]

Visual Output :