Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Indexable

[key: string]: any

Index

Properties

context

context: DigitalCommerceUserContext

The context used to create this SDK.

create

create: boolean

Create boolean flag to indicate a new SDK instance should be created or not.

datasource

datasource: DataSource

The connection used by the SDK.

Static Private anonymousSiteConfigUrl

anonymousSiteConfigUrl: string = "https://odsnnr2d4a.execute-api.us-west-2.amazonaws.com/test/xc"

Accessors

Static anonymousConfigUrl

  • get anonymousConfigUrl(): string
  • set anonymousConfigUrl(customAnonymousURL: string): void
  • This returns the Anonymous default Rest URL. If namespace is defined and not an empty string, this will return {anonymousConfigUrl}. e.g. https://odsnnr2d4a.execute-api.us-west-2.amazonaws.com/test/xc If namespace is empty, this will return an empty string.

    example
    `${DigitalCommerceSDKConfig.getAnonymousConfigUrl}/v3/carts`

    Returns string

  • This function provides a way to override the default anonymous site url.

    Parameters

    • customAnonymousURL: string

    Returns void

Generated using TypeDoc