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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Optional<String>
getWhoEnabled()
Get the IP address of user who enabled the test mode for this shop.boolean
isEnabled()
Check is the test mode is enabled for this shop or not.
-
-
-
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()
-
-