Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Gateway

Index

Constructors

constructor

  • new Gateway(authBase: string, apiRoot: string, oauthRoot: string, country: string, language: string): Gateway
  • Parameters

    • authBase: string
    • apiRoot: string
    • oauthRoot: string
    • country: string
    • language: string

    Returns Gateway

Properties

apiRoot

apiRoot: string

authBase

authBase: string

country

country: string

language

language: string

oauthRoot

oauthRoot: string

Accessors

oauthUrl

  • get oauthUrl(): string

Methods

Static discover

  • discover(country: string, language: string): Promise<Gateway>

Static getGatewayInfo

  • getGatewayInfo(countryCode: string, langCode: string): Promise<any>
  • Parameters

    • countryCode: string
    • langCode: string

    Returns Promise<any>

Generated using TypeDoc