Loading
Insurance
insQuoteSingleRoot Lightning Web Component

insQuoteSingleRoot Lightning Web Component

This component acts as a container for a root product and its child items.

This component contains additional components that let users add and modify insured parties, add and move coverages, change attribute values, and rate quotes.

This component works for desktop and is mobile responsive.

Here's what it looks like in the user interface:

insQuote LWC elements highlighted

The insQuoteSingleRoot LWC displays:

  1. Icons for the product

  2. Product name

  3. Total premium

  4. Icon for the insured item

  5. Insured item name

  6. Insured item attributes

  7. Insured item deductible

  8. Insured item coverages

The UI also displays Rate if the quote is modified.

What Users Can Do on this LWC

With insQuoteSingleRoot, users can:

  • Remove product

  • Remove insured items

  • Edit insured item attributes

  • Modify coverages

  • Rate the product

What this LWC Does

insQuoteSingleRoot LWC is a child item of insQuote and serves as a container for a single root product. It contains the method and styles for the quote.

Services Called by this LWC

insQuoteSingleRoot calls the following services:

  • InsProductService:getInsuredItems

  • InsProductService:getInsuredItemSpec

  • InsQuoteService:getLineDetails

  • InsQuoteService: addInsuredItem

  • InsQuoteService:updateChildLine

  • InsQuoteService:priceRootItem

Other LWCs Used by this Component

insQuoteSingleRoot includes the following LWCs inside it:

  • pubsub

  • insCreateVersion

  • insVersionHistory

  • insProductInstance

  • insRecordEditor

 
Loading
Salesforce Help | Article