getSummaryOutputCustom

Introduction

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.

Parameters In

Name
Example
Description

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

N/A

JSON - This is the Premium Array which was returned from NEWRATES_SetStatus

premiumSummaryResults

N/A

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

Parameters Out

Name
Example
Description

Combined Premium and Premium Summary array

N/A

JSON - Array containing full details for all Premiums and Fees relevant for display, along with a "PremiumSummary" record and a "Summary" record

Last updated