Published on : May 26, 2020

URL : https://loantap.in/dummy-app/sample-ps.fetch_configs

Service Description: Fetch all the products config by product ids

Input 1 :

[template.products]

Usage :

[template.set products.new="lt-holiday-emi-free"/]
[product_services.products.fetch_configs products={template.products} o.set=template.products_config/]

Logic :

  • Fetched the products config from product settings with provided products
  • Return the list of the array with products config.

Sample Output :

  array(1) 
[
    "lt-holiday-emi-free" =>  array(19) 
        [
            "insurance_fees"     =>  array(2) 
            "dues_waiver"        =>  array(3) 
            "principal_waiver"   =>  array(3) 
            "processing_fees"    =>  array(3) 
            "interest_rate"      =>  array(2) 
            "loan_city"          =>  array(1) 
            "cc_queue"           =>  array(1) 
            "loan_tenure"        =>  array(2) 
            "job_types"          =>  array(1) 
            "fixed_income"       =>  array(1) 
            "age"                =>  array(4) 
            "disbursal"          =>  array(3) 
            "instalment"         =>  array(6) 
            "instalment_monthly" =>  array(3) 
            "bullet"             =>  array(3) 
            "foreclosure_fees"   =>  array(3) 
            "increase_pos"       =>  array(2) 
            "principal_receipt"  =>  array(5) 
            "base"               =>  array(6) 
        ]
]