Published on : May 26, 2020

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

Service Description:

Given a product id get the product config details.

Input1:

[template.product_id]

Usage:

[template.set product_id='lt-holiday-emi-free' /]
[product_services.product.fetch product_id={template.product_id} o.set=template.product_data/]

Logic:

  • Declare the product id
    Fetch the details from the loan_scheme with the provided ID
  • id – product_name
    Returns the array of the product config.

Return the product config array

Sample Output

 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)
]