Skip to content

Latest commit

 

History

History
135 lines (74 loc) · 2.25 KB

ConfigSelector.md

File metadata and controls

135 lines (74 loc) · 2.25 KB

@bigcommerce/checkout-sdk / ConfigSelector

Interface: ConfigSelector

Table of contents

Methods

Methods

getConfig

getConfig(): undefined | Config

Returns

undefined | Config


getContextConfig

getContextConfig(): undefined | ContextConfig

Returns

undefined | ContextConfig


getExternalSource

getExternalSource(): undefined | string

Returns

undefined | string


getFlashMessages

getFlashMessages(type?): undefined | FlashMessage[]

Parameters

Name Type
type? "error" | "info" | "warning" | "success"

Returns

undefined | FlashMessage[]


getHost

getHost(): undefined | string

Returns

undefined | string


getLoadError

getLoadError(): undefined | Error

Returns

undefined | Error


getLocale

getLocale(): undefined | string

Returns

undefined | string


getStoreConfig

getStoreConfig(): undefined | StoreConfig

Returns

undefined | StoreConfig


getStoreConfigOrThrow

getStoreConfigOrThrow(): StoreConfig

Returns

StoreConfig


getVariantIdentificationToken

getVariantIdentificationToken(): undefined | string

Returns

undefined | string


isLoading

isLoading(): boolean

Returns

boolean