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
Properties
authBase
authBase: string
language
language: string
oauthRoot
oauthRoot: string
Methods
Static discover
- discover(country: string, language: string): Promise<Gateway>
-
Parameters
-
country: string
-
language: string
Returns Promise<Gateway>
Static getGatewayInfo
- getGatewayInfo(countryCode: string, langCode: string): Promise<any>
-
Parameters
-
countryCode: string
-
langCode: string
Returns Promise<any>