---
schema_version: "1"
id: 35cb85b862e513ceda2ff00242035fc7ffbe38104af9dacf1d273c45077e4543
title: UpdateInsuranceQuoteOptions Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0acbba92c2d3dcc2a5d035d5ecbf6d6ff4cf8e07cad49a375b9fdfca27e8ac5e
description: Contains options for updating an existing insurance quote. Use this class to control pricing execution, configuration and qualification rules, product catalog validation, and quote persistence when updating insurance quotes.Learn more about the constructors that are available with the UpdateInsuranceQuoteOptions class.Creates an options instance for quote updates with explicit control over pricing, configuration and qualification rules, catalog validation, and quote saving.Creates an options instance with the default settings for updating an insurance quote.Set the properties in the UpdateInsuranceQuoteOptions class to update an insurance quote.Indicates whether to run product configuration rules when updating the quote (true) or not (false).Indicates whether to execute pricing when updating the quote (true) or not (false).Indicates whether to run qualification rules when updating the quote (true) or not (false).Indicates whether to save the updated quote (true) or not (false).Indicates whether to validate against the product catalog when updating the quote (true) or not (false).
---
# UpdateInsuranceQuoteOptions Class

Contains options for updating an existing insurance quote. Use this class to control pricing execution, configuration and qualification rules, product catalog validation, and quote persistence when updating insurance quotes.

## Namespace

[runtime\_industries\_insurance](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_namespace_runtime_industries_insurance.htm "The runtime_industries_insurance namespace provides Options classes to control optional input parameters for managing insurance operations, such as creating and updating insurance quotes, generating insurance clauses, and running insurance ratings. Use these classes when calling Insurance APIs from Apex to control pricing, configuration rules, qualification rules, and product catalog validation.")

## Usage

Use the UpdateInsuranceQuoteOptions class when calling the [Update Insurance Quote](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_update_insurance_quote.htm) invocable action to update an insurance quote so that you can specify which operations to run and whether to save the updated quote.

## Example

When calling the [Update Insurance Quote](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_update_insurance_quote.htm) invocable action from Apex, create an UpdateInsuranceQuoteOptions instance, set the desired properties, and use it as quoteOptions.

// quoteOptions for updateInsuranceQuote
if (inputs != null && inputs.containsKey('quoteOptions')) {
    Map<String, Object\> optionsFromInput =
        (Map<String, Object\>) inputs.get('quoteOptions');
    if (optionsFromInput != null) {
        runtime\_industries\_insurance.UpdateInsuranceQuoteOptions updateQuoteOptions 
                = new runtime\_industries\_insurance.UpdateInsuranceQuoteOptions();
            Map<String, Object\> optionsFromInput = (Map<String, Object\>)quotePayload.get('quoteOptions');
            if (optionsFromInput.containsKey('executePricing')) {
                updateQuoteOptions.executePricing = (Boolean)optionsFromInput.get('executePricing');
            }
            if (optionsFromInput.containsKey('validateProductCatalog')) {            
                updateQuoteOptions.validateProductCatalog = (Boolean)optionsFromInput.get('validateProductCatalog');
            }
            if (optionsFromInput.containsKey('executeConfigurationRules')) {            
                updateQuoteOptions.executeConfigurationRules = (Boolean)optionsFromInput.get('executeConfigurationRules');
            }
            if (optionsFromInput.containsKey('executeQualificationRules')) {            
                updateQuoteOptions.executeQualificationRules = (Boolean)optionsFromInput.get('executeQualificationRules');
            }
            if (optionsFromInput.containsKey('saveQuote')) {            
                updateQuoteOptions.saveQuote = (Boolean)optionsFromInput.get('saveQuote');
            }
            action.setInvocationParameter('quoteOptions', updateQuoteOptions);
    }
}

- **[UpdateInsuranceQuoteOptions Constructors](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_constructors)**  
    Learn more about the constructors that are available with the UpdateInsuranceQuoteOptions class.
- **[UpdateInsuranceQuoteOptions Properties](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_properties)**  
    Set the properties in the UpdateInsuranceQuoteOptions class to update an insurance quote.

## UpdateInsuranceQuoteOptions Constructors

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

The UpdateInsuranceQuoteOptions class includes these constructors.

- **[UpdateInsuranceQuoteOptions(executePricing, executeConfigurationRules, executeQualificationRules, validateProductCatalog, saveQuote)](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_ctor)**  
    Creates an options instance for quote updates with explicit control over pricing, configuration and qualification rules, catalog validation, and quote saving.
- **[UpdateInsuranceQuoteOptions()](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_ctor_2)**  
    Creates an options instance with the default settings for updating an insurance quote.

### UpdateInsuranceQuoteOptions(executePricing, executeConfigurationRules, executeQualificationRules, validateProductCatalog, saveQuote)

Creates an options instance for quote updates with explicit control over pricing, configuration and qualification rules, catalog validation, and quote saving.

#### Signature

public UpdateInsuranceQuoteOptions(Boolean executePricing, Boolean executeConfigurationRules, Boolean executeQualificationRules, Boolean validateProductCatalog, Boolean saveQuote)

#### Parameters

**executePricing**

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

**executeConfigurationRules**

- Type: Boolean
- Indicates whether to run product configuration rules when updating the quote (true) or not (false). The default value is false.

**executeQualificationRules**

- Type: Boolean
- Indicates whether to run qualification rules when updating the quote (true) or not (false). The default value is false.

**validateProductCatalog**

- Type: Boolean
- Indicates whether to validate against the product catalog when updating the quote (true) or not (false). The default value is false.

**saveQuote**

- Type: Boolean
- Indicates whether to save the updated quote (true) or not (false). The default value is false.

### UpdateInsuranceQuoteOptions()

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

#### Signature

public UpdateInsuranceQuoteOptions()

## UpdateInsuranceQuoteOptions Properties

Set the properties in the UpdateInsuranceQuoteOptions class to update an insurance quote.

The UpdateInsuranceQuoteOptions class includes these properties.

- **[executeConfigurationRules](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_executeConfigurationRules)**  
    Indicates whether to run product configuration rules when updating the quote (true) or not (false).
- **[executePricing](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_executePricing)**  
    Indicates whether to execute pricing when updating the quote (true) or not (false).
- **[executeQualificationRules](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_executeQualificationRules)**  
    Indicates whether to run qualification rules when updating the quote (true) or not (false).
- **[saveQuote](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_saveQuote)**  
    Indicates whether to save the updated quote (true) or not (false).
- **[validateProductCatalog](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_class_runtime_industries_insurance_UpdateInsuranceQuoteOptions.htm#apex_runtime_industries_insurance_UpdateInsuranceQuoteOptions_validateProductCatalog)**  
    Indicates whether to validate against the product catalog when updating the quote (true) or not (false).

### executeConfigurationRules

Indicates whether to run product configuration rules when updating the quote (true) or not (false).

#### Signature

public Boolean executeConfigurationRules {get; set;}

#### Property Value

Type: Boolean

### executePricing

Indicates whether to execute pricing when updating the quote (true) or not (false).

#### Signature

public Boolean executePricing {get; set;}

#### Property Value

Type: Boolean

### executeQualificationRules

Indicates whether to run qualification rules when updating the quote (true) or not (false).

#### Signature

public Boolean executeQualificationRules {get; set;}

#### Property Value

Type: Boolean

### saveQuote

Indicates whether to save the updated quote (true) or not (false).

#### Signature

public Boolean saveQuote {get; set;}

#### Property Value

Type: Boolean

### validateProductCatalog

Indicates whether to validate against the product catalog when updating the quote (true) or not (false).

#### Signature

public Boolean validateProductCatalog {get; set;}

#### Property Value

Type: Boolean