NEWRATES_Calculate_PremiumOutput

Introduction

Function which transforms the records from the Technical Premium Array into full rating outputs.

Effectively transforming:

  • TechnicalPremium to Premium

  • TechnicalFee to Fee

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

technicalPremiumArray

N/A

JSON - This is the Technical Premium Array which was returned from getTechnicalPremiumsCustomor NEWRATES_Calculate_TechnicalPremiumTransactionif not valid.

debugOverrideFlag

true

Optional parameter to indicate whether to include Debug information along with the other outputs

Parameters Out

Name
Example
Description

Premium Array

N/A

JSON - Array containing full details for all Premiums and Fees relevant for display

Last updated