CreateInsuranceRatingOptions Class
Contains options for creating an insurance rating. Use this class to control pricing execution, configuration rules, and the response data, such as context JSON, product details, rating results, when running a rating operation.
Use the CreateInsuranceRatingOptions class when using the Create Insurance Rating invocable action to create an insurance rating so that you can specify which operations to run and what response data to include.
Create a CreateInsuranceRatingOptions instance and set properties, then use it (or a serialized map) as ratingOptions when calling the Create Insurance Rating invocable action from Apex.
-
CreateInsuranceRatingOptions Constructors
Learn more about the constructors that are available with the CreateInsuranceRatingOptions class.
-
CreateInsuranceRatingOptions Properties
Set the properties in the CreateInsuranceRatingOptions class to create insurance ratings.
Learn more about the constructors that are available with the CreateInsuranceRatingOptions class.
The CreateInsuranceRatingOptions class includes these constructors.
-
Creates an options instance for rating with explicit control over pricing, configuration rules, and which data is returned in the response.
-
CreateInsuranceRatingOptions()
Creates an options instance with the default settings for creating an insurance rating.
Creates an options instance for rating with explicit control over pricing, configuration rules, and which data is returned in the response.
public CreateInsuranceRatingOptions(Boolean executePricing, Boolean executeConfigurationRules, Boolean returnContextJSON, Boolean returnProductDetails, Boolean returnRatingResults)
executePricing
- Type: Boolean
- Indicates whether to execute pricing for the rating (
true) or not (false). The default value istrue.
executeConfigurationRules
- Type: Boolean
- Indicates whether to run product configuration rules (
true) or not (false). The default value isfalse.
returnContextJSON
- Type: Boolean
- Indicates whether to include context as JSON in the response (
true) or not (false). The default value isfalse.
returnProductDetails
- Type: Boolean
- Indicates whether to include product details in the response (
true) or not (false). The default value isfalse.
returnRatingResults
- Type: Boolean
- Indicates whether to include rating results in the response (
true) or not (false). The default value isfalse.
Creates an options instance with the default settings for creating an insurance rating.
public CreateInsuranceRatingOptions()
Set the properties in the CreateInsuranceRatingOptions class to create insurance ratings.
The following are properties for CreateInsuranceRatingOptions.
-
Indicates whether to run product configuration rules (true) or not (false).
-
Indicates whether to execute pricing for the rating (true) or not (false).
-
Indicates whether to include context as JSON in the response (true) or not (false).
-
Indicates whether to include product details in the response (true) or not (false).
-
Indicates whether to include rating results in the response (true) or not (false).
Indicates whether to run product configuration rules (true) or not (false).
public Boolean executeConfigurationRules {get; set;}
Type: Boolean
Indicates whether to execute pricing for the rating (true) or not (false).
public Boolean executePricing {get; set;}
Type: Boolean
Indicates whether to include context as JSON in the response (true) or not (false).
public Boolean returnContextJSON {get; set;}
Type: Boolean
Indicates whether to include product details in the response (true) or not (false).
public Boolean returnProductDetails {get; set;}
Type: Boolean
Indicates whether to include rating results in the response (true) or not (false).
public Boolean returnRatingResults {get; set;}
Type: Boolean