Hierarchy

Constructors

Properties

baseUrl: string = ...
fieldMappings: ServiceFieldMappings
queryStringParams: {
    disableSpellcheck: string;
    page: string;
    pageSize: string;
    query: string;
    requestType: string;
    searchWithin: string;
    sort: string;
} = ...

Type declaration

  • disableSpellcheck: string
  • page: string
  • pageSize: string
  • query: string
  • requestType: string
  • searchWithin: string
  • sort: string
searchUrl: string = ...
variantFieldMappings: ServiceVariantFieldMappings

Accessors

  • get onSearchPage(): boolean
  • Returns boolean

Methods

  • Parameters

    • url: undefined | string
    • prefix: undefined | string

    Returns undefined | string

  • Parameters

    • data: object
    • fieldMappings: string[]
    • Optional defaultValue: number

    Returns undefined | number

  • Parameters

    • data: object
    • fieldMappings: string[]
    • Optional defaultValue: string

    Returns undefined | string

  • Parameters

    • data: object
    • fieldMappings: string[]
    • Optional prefix: string

    Returns undefined | string

  • Parameters

    • data: object
    • fieldMappings: string[]

    Returns undefined | string[]

  • Type Parameters

    • T

    Parameters

    • relativeUrl: string
    • Optional body: any
    • Optional customHeaders: any
    • Optional isAbsoluteUrl: boolean

    Returns Promise<T>

  • Parameters

    • input: string

    Returns string

  • Parameters

    • productId: string
    • quantity: number
    • price: number
    • currencyIsoCode: string

    Returns Promise<void>

  • Parameters

    • items: {
          currencyIsoCode: string;
          price: number;
          productId: string;
          quantity: number;
      }[]

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • bannerId: number
    • campaignId: number

    Returns Promise<void>

  • Parameters

    • bannerId: number
    • campaignId: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • orderId: string
    • items: {
          price: number;
          productId: string;
          quantity: number;
      }[]
    • subTotal: number
    • tax: number
    • total: number
    • currencyIsoCode: string

    Returns Promise<void>

  • Parameters

    • pageType: PageType
    • Optional productId: string

    Returns Promise<void>

  • Parameters

    • productId: string
    • rating: number

    Returns Promise<void>

  • Parameters

    • widgetId: string
    • requestId: string
    • productId: string

    Returns Promise<void>

  • Parameters

    • query: undefined | string
    • newSearch: boolean

    Returns Promise<void>

  • Parameters

    • id: string
    • url: string
    • Optional event: PointerEvent

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • name: string
    • data: T

    Returns void