Function activateCode

  • Activate the StoneCode. It accepts any StoneCode and can use the default StoneUI for progress.

    Since

    0.1.7

    Parameters

    • stoneCode: String

      Merchant's Stone Code.

    • dialogMessage: null | String = null

      Default UI dialog main message.

    • dialogTitle: null | String = null

      Default UI dialog title.

    • useDefaultUI: Boolean = true

      Wheter to use Stone's default progress dialog or not.

    Returns Promise<boolean>