Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Branding

Contains all Requests regarding branding.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns Branding

Properties

config

config: ApiConfig

request

request: Request

Methods

getBranding

  • getBranding(clientId: string, brandingId: string | number): Promise<any>
  • getBranding(clientId: string, brandingId: string | number): Promise<AxiosResponse<Brand>>
  • Gets branding params for given merchant

    method

    getBranding

    async
    example
    InPlayer.Branding
    .getBranding('eyJ0e-XAiOi-JKPEC-ENR5Y', '123')
    .then(data => console.log(data));

    Parameters

    • clientId: string

      The Client id

    • brandingId: string | number

      The branding id or 'default'

    Returns Promise<any>

  • Parameters

    • clientId: string
    • brandingId: string | number

    Returns Promise<AxiosResponse<Brand>>

setConfig

  • setConfig(env: Env): void

Generated using TypeDoc