Function to allow any product-specific adjustments to the Premium Array and the Premium Summary array. Each array is passed in separately but then returned as one output containing:
All "Premium" records
All "Fee" records
"PremiumSummary" records
"Summary" records
See SummaryOutputCustom.
date
"2023-03-09"
Current date
riskId
"RATE4E08106P00"
RiskId for the risk which we want to rate
premiumOutputConfigObject
N/A
JSON - A configuration object built up from components of the Product Config table and from the risk itself
results
JSON - This is the Premium Array which was returned from NEWRATES_SetStatus
premiumSummaryResults
JSON - Premium Summary Array returned from NEWRATES_Calculate_SummaryOutput
debugOverrideFlag
true
Optional parameter to indicate whether to include Debug information along with the other outputs
Combined Premium and Premium Summary array
JSON - Array containing full details for all Premiums and Fees relevant for display, along with a "PremiumSummary" record and a "Summary" record
Last updated 1 year ago