bp-sdk-quote-request
Custom element hooks
Name | Description |
---|---|
bp-sdk-external-quote-request | disables html |
Classes
Name | Description |
---|---|
bp-sdk-online-quote__container | Root div element |
bp-sdk-online-quote__details | Div element with quote details |
bp-sdk-online-quote__pricing | Div element wrapping pricing |
Shared Classes
These classes are on both online and offline quotes if you would like to share styling for both types of quotes
Name | Description |
---|---|
bp-sdk-quote__container | Root div element |
bp-sdk-quote__details | Div element with quote details |
bp-sdk-quote__pricing | Div element wrapping pricing |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
actions | -- | Quote actions | IQuoteAction[] | undefined |
appFormId | app-form-id | Application form id | string | '' |
attachments | -- | Quote attachments | IQuoteAttachment[] | undefined |
bindable | bindable | Is bindable | boolean | undefined |
calls_to_action | -- | ICallToAction[] | undefined | |
carrier | -- | Carrier | ICarrier | undefined |
customLogoBaseUrl | custom-logo-base-url | Custom logo url | string | '' |
handleAction | -- | Function for running a quote action | (action: IQuoteAction, quote: Pick<IQuoteRequest, "id" \| "application_form_id">) => void | undefined |
handleBind | -- | quote bind function | (quoteId: string, appFormId: string, afterResponse?: (response: string) => void) => void | undefined |
handleDownload | -- | Function for downloading an attachment | (id: string, filename?: string) => void | undefined |
isAnnual | is-annual | Is Annual quote | boolean | undefined |
parentQuoteRequestId | parent-quote-request-id | Parent quote request ID will be populated if this is a wholesale quote | string | undefined |
permittedToBind | permitted-to-bind | User has permission to bind | boolean | undefined |
products | -- | Product selection | IProductDetail[] | [] |
quoteId | quote-id | Quote id | string | '' |
quoteInfo | -- | Quote information | IQuoteInfo | undefined |
quoteStatus | -- | Quote status flags | IQuoteStatus | undefined |
requestStatus | request-status | Quote request status | QuoteRequestRequestTypes.bound \| QuoteRequestRequestTypes.completed \| QuoteRequestRequestTypes.failed \| QuoteRequestRequestTypes.in_progress \| QuoteRequestRequestTypes.ineligible \| QuoteRequestRequestTypes.referral \| QuoteRequestRequestTypes.sent \| QuoteRequestRequestTypes.timed_out \| QuoteRequestRequestTypes.unsent | undefined |
satisfiesApplicationFormProductRequest | satisfies-application-form-product-request | Does this quote contain all of the products that were selected in the application form | boolean | false |
showCustomLogo | show-custom-logo | Should show custom logo | boolean | false |
showLogo | show-logo | Should show logo | boolean | true |
supplierCode | supplier-code | Supplier code | string | undefined |
supplierLogoUrl | supplier-logo-url | Supplier logo url | string | undefined |
supplierLogoUrlFull | supplier-logo-url-full | Supplier full size logo url | string | undefined |
supplierName | supplier-name | Supplier name | string | undefined |
translatedMessages | -- | Translated messages | ITranslatedMessage[] | undefined |
Events
Event | Description | Type |
---|---|---|
bpAnalyticsTrack | CustomEvent<IAnalyticsTrackEventDetail> |
Dependencies
Used by
Depends on
- bp-sdk-quote-request-status-list-container
- bp-sdk-quote-request-header-container
- bp-sdk-quote-request-premium-container
- bp-sdk-quote-request-product-list-container
- bp-sdk-quote-request-taxes-and-fees-container
- bp-sdk-quote-request-bind-container
Graph
graph TD;
bp-sdk-quote-request --> bp-sdk-quote-request-status-list-container
bp-sdk-quote-request --> bp-sdk-quote-request-header-container
bp-sdk-quote-request --> bp-sdk-quote-request-premium-container
bp-sdk-quote-request --> bp-sdk-quote-request-product-list-container
bp-sdk-quote-request --> bp-sdk-quote-request-taxes-and-fees-container
bp-sdk-quote-request --> bp-sdk-quote-request-bind-container
bp-sdk-quote-request-status-list-container --> bp-sdk-quote-request-status-list
bp-sdk-quote-request-status-list --> bp-sdk-chip
bp-sdk-quote-request-header-container --> bp-sdk-quote-request-header
bp-sdk-quote-request-header --> bp-sdk-quote-request-logo-container
bp-sdk-quote-request-logo-container --> bp-sdk-quote-request-logo
bp-sdk-quote-request-premium-container --> bp-sdk-quote-request-premium
bp-sdk-quote-request-premium --> bp-sdk-quote-request-premium-term
bp-sdk-quote-request-premium --> bp-sdk-quote-request-premium-monthly
bp-sdk-quote-request-premium-term --> bp-sdk-quote-request-premium-payment
bp-sdk-quote-request-premium-monthly --> bp-sdk-quote-request-premium-payment
bp-sdk-quote-request-product-list-container --> bp-sdk-quote-request-product-list
bp-sdk-quote-request-product-list --> bp-sdk-quote-request-product-container
bp-sdk-quote-request-product-container --> bp-sdk-quote-request-product
bp-sdk-quote-request-product --> bp-sdk-quote-request-coverage-list
bp-sdk-quote-request-product --> bp-sdk-quote-request-vehicle-coverage
bp-sdk-quote-request-coverage-list --> bp-sdk-quote-request-coverage-item-container
bp-sdk-quote-request-coverage-item-container --> bp-sdk-quote-request-coverage-item
bp-sdk-quote-request-vehicle-coverage --> bp-sdk-quote-request-coverage-list
bp-sdk-quote-request-taxes-and-fees-container --> bp-sdk-quote-request-taxes-and-fees
bp-sdk-quote-request-taxes-and-fees --> bp-sdk-quote-request-fees
bp-sdk-quote-request-fees --> bp-sdk-quote-request-price
bp-sdk-quote-request-bind-container --> bp-sdk-quote-request-button-container
bp-sdk-quote-request-button-container --> bp-sdk-quote-request-button
bp-sdk-quote-request-button --> bp-sdk-button
bp-sdk-quote-request-container --> bp-sdk-quote-request
style bp-sdk-quote-request fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS