Initialization
Here is the instructions on how to initialize the Wepin PIN Pad Library.
init
To create and initialize an instance of the Wepin PIN Pad Library, set the language to be displayed on the PIN pad screen during initialization.
Parameters
defaultLanguage
: <string> It sets the default language of the widget. The default value is'ko'
. Currently supported languages are'ko'
,'en'
and'ja'
Return value
Promise
<void>
Example
Then, log in to Wepin using the Wepin Login Library.
isInitialized
It checks if the Wepin PIN Pad Library is initialized properly.
Parameters
<void>
Return Value
<boolean>
It returns true if init was successful, otherwise returns false.
Example
changeLanguage
Changes the language displayed on the PIN pad screen. Currently, only 'ko'
, 'en'
, and 'ja'
are supported.
Supported Version
Supported from version
0.0.23
and later.
Parameters
language
<string>
Return value
<void>
Example
Last updated