CreateInsuranceQuoteOptions Class

Contains options for creating an insurance quote. Use this class to control pricing execution, product catalog validation, configuration and qualification rules, quote persistence, and the product selling model when creating group or individual insurance quotes.

runtime_industries_insurance

Use the CreateInsuranceQuoteOptions class with the Insurance Quote (POST) API and the Create Insurance Quote invocable action to create an insurance quote so that you can specify which operations to run and whether to save the quote or not.

When calling the Create Insurance Quote invocable action from Apex, create a CreateInsuranceQuoteOptions instance, set the desired properties, and then use it as quoteOptions.

Learn more about the constructors that are available with the CreateInsuranceQuoteOptions class.

The CreateInsuranceQuoteOptions class includes these constructors.

Creates an options instance for quote creation with explicit control over pricing, validation, rules execution, quote saving, and product selling model.

public CreateInsuranceQuoteOptions(Boolean executePricing, Boolean validateProductCatalog, Boolean executeConfigurationRules, Boolean executeQualificationRules, Boolean saveQuote, String productSellingModel)

executePricing

  • Type: Boolean
  • Indicates whether to execute pricing when creating the quote (true) or not (false). The default value is false.

validateProductCatalog

  • Type: Boolean
  • Indicates whether to validate against product catalog (true) or not (false). The default value is false.

executeConfigurationRules

  • Type: Boolean
  • Indicates whether to run product configuration rules (true) or not (false). The default value is false.

executeQualificationRules

  • Type: Boolean
  • Indicates whether to run qualification rules (true) or not (false). The default value is false.

saveQuote

  • Type: Boolean
  • Indicates whether to save the details after the quote is created (true) or not (false). The default value is false.

productSellingModel

  • Type: String
  • ID of the product selling model for the quote.

Creates an options instance with the default settings for creating an insurance quote.

public CreateInsuranceQuoteOptions()

Set the CreateInsuranceQuoteOptions class properties to create an insurance quote.

The CreateInsuranceQuoteOptions class includes these properties.

  • executeConfigurationRules

    Indicates whether product configuration rules are executed when creating the insurance quote (true) or not (false).

  • executePricing

    Indicates whether pricing is executed when creating the insurance quote (true) or not (false).

  • executeQualificationRules

    Indicates whether qualification rules are executed when creating the insurance quote (true) or not (false).

  • productSellingModel

    Identifies the product selling model that’s used for the insurance quote, for example, group or individual.

  • saveQuote

    Indicates whether the created quote is saved in the database (true) or not (false).

  • validateProductCatalog

    Indicates whether the product catalog is validated when creating the insurance quote (true) or not (false).

Indicates whether product configuration rules are executed when creating the insurance quote (true) or not (false).

public Boolean executeConfigurationRules {get; set;}

Type: Boolean

Indicates whether pricing is executed when creating the insurance quote (true) or not (false).

public Boolean executePricing {get; set;}

Type: Boolean

Indicates whether qualification rules are executed when creating the insurance quote (true) or not (false).

public Boolean executeQualificationRules {get; set;}

Type: Boolean

Identifies the product selling model that’s used for the insurance quote, for example, group or individual.

public String productSellingModel {get; set;}

Type: String

Indicates whether the created quote is saved in the database (true) or not (false).

public Boolean saveQuote {get; set;}

Type: Boolean

Indicates whether the product catalog is validated when creating the insurance quote (true) or not (false).

public Boolean validateProductCatalog {get; set;}

Type: Boolean