Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StiggClient

Implemented by

Index

Properties

isCustomerLoaded: boolean
isResourceLoaded: boolean
isWidgetWatermarkEnabled: boolean

Methods

  • addListener<K>(eventName: K, callback: Events[K]): void
  • Type parameters

    • K: keyof Events

    Parameters

    • eventName: K
    • callback: Events[K]

    Returns void

  • clearCustomer(): void
  • clearResource(): void
  • getCoupons(): Promise<Coupon[]>
  • getEntitlements(resourceId?: string): Promise<Entitlement[]>
  • refresh(): Promise<void>
  • removeListener<K>(eventName: K, callback: Events[K]): void
  • Type parameters

    • K: keyof Events

    Parameters

    • eventName: K
    • callback: Events[K]

    Returns void

  • setCustomerId(customerId: string, customerToken?: null | string, resourceId?: null | string): Promise<void>
  • Parameters

    • customerId: string
    • Optional customerToken: null | string
    • Optional resourceId: null | string

    Returns Promise<void>

  • setResource(resourceId: string): Promise<void>

Generated using TypeDoc