The main configuration class for the Widget Manager. Containing both required and optional configuration properties.

Hierarchy (view full)

Constructors

Properties

allowedOrigins: string[] = ...

A list of allowed origins for the SDK to communicate with

currencyCodeISO4217: string

The ISO 4217 currency code, e.g. "USD"

iframeTransition: string = 'height 0.3s ease-in-out'

Iframe styles.transition property

languageRFC4647: string

The RFC 4647 language tag representing the user's preferred language, e.g. "en-US"

taxIncluded: boolean

Whether tax is included in the prices. Required to display correct pricing info - gross/net.

trackingAllowed: boolean

Will activate customer tracking. Make sure to request tracking consent from your customer and set accordingly.

widgetBaseURL: string = 'https://tecsafe.github.io/app-ui/iframe'

The base URL for the widget UIs