Interface Shop.TestMode

  • Enclosing interface:
    Shop

    public static interface Shop.TestMode
    The instance that represents the test mode settings in the shop control panel.
    See Also:
    Shop.testMode()
    • Method Detail

      • isEnabled

        boolean isEnabled()
        Check is the test mode is enabled for this shop or not.
        Returns:
        The check result (true/false).
      • getWhoEnabled

        @NotNull
        @NotNull Optional<String> getWhoEnabled()
        Get the IP address of user who enabled the test mode for this shop.
        It's wrapped in the Optional because can be null.
        Returns:
        The IP address of user who enabled the test mode.
        See Also:
        isEnabled()