Published on : July 10, 2020

What is Business Annual Income
Sets the Range for the Business Annual Income and Validates whether the Provided Business Annual Income is Valid or Not

Service Used: sublan_eligibility.business_annual_income

maxMaximum business annual income for the productInteger
outer_maxOuter maximum value for business annual incomeInteger  
minMinimum business annual income for the product
Integer
outer_min
Outer minimum value for business annual income
Integer
required
Business annual income is required or notVarchar

Logic: Validate Business Annual Income

Product Settings 
----------------- 
Product Settings is Compulsory (error if no settings) 
 
Skip 
-------- 
Allowed 
 
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 
 
outer_max
---------------
Outer max range for the product

Min 
-------------------------------------- 
Min is compulsory 
Max of 0,min,outer_min 
 
outer_min
---------------
Outer min range for the product

Check 
------------------ 
Compare that Business annual Income is between range

Output :

"business_annual_income"    =>  array(8) 
[
"debug" => array(1)
"skip" => string(2) "no"
"required" => string(3) "yes"
"business_annual_income" => float(1175000)
"max" => int(0)
"min" => int(500000)
"status" => string(7) "success"
"message" => string(35) "business annual income check passed"
]

Visual Output :