Published on : May 25, 2020
URL :
https://loantap.in/dummy-app/sample-ps.fetch_by_product_set
Service Description: Given a product set we will get the list of products ids which will be used at sublan level or maybe the partner level
Input 1 :
[template.product_set]
Usage :
[template.set
product_set ="lt-holiday" /]
[product_services.products.fetch_by_product_set product_set={template.product_} o.set=template.products/]
Logic :
- Fetched the distinct object id from loan schema with provided
product_set
:- id : product name
- Return the list of the array with product ids.
Sample Output :
array(3)
[
0 => string(18) "lt-holiday-step-up"
1 => string(29) "lt-holiday-term-loan-reducing"
2 => string(19) "lt-holiday-emi-free"
]