Function deactivateCode

  • Deactivate StoneCodes from the device. If the Stone Code is not found in the device, it will throw an exception.

    Since

    0.1.14

    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.

    • ignoreLastStoneCodeCheck: Boolean = false

      If there's only a single Stone Code activated in this POS we prevent you from deactivating it unless you set it to true

    Returns Promise<boolean>