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

trackingAllowed: boolean

Whether tracking is allowed or not. If customer has consented to tracking, set to true.

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

The base URL for the widget UIs