Interface Shop.Extra
-
- Enclosing interface:
- Shop
public static interface Shop.Extra
The instance that represents the additional extra settings in the shop control panel.- See Also:
Shop.extra()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getAccessKey()
Get the shop access key (a.k.a.int
getGameId()
Get the internal used game ID.@NotNull OptionalDouble
getRating()
Get the shop rating that optionally represented by a double value from 0.0 to 5.0.@Nullable Double
getRatingRaw()
Get the shop rating as raw nullable Double object.int
getUserId()
Get the ID of user who owned this shop.
-
-
-
Method Detail
-
getGameId
int getGameId()
Get the internal used game ID.- Returns:
- The game ID.
-
getUserId
int getUserId()
Get the ID of user who owned this shop.- Returns:
- The shop owner ID.
-
getAccessKey
@NotNull @NotNull String getAccessKey()
Get the shop access key (a.k.a. API key).- Returns:
- The shop access key.
-
getRating
@NotNull @NotNull OptionalDouble getRating()
Get the shop rating that optionally represented by a double value from 0.0 to 5.0.- Returns:
- The shop rating.
-
getRatingRaw
@Nullable @Nullable Double getRatingRaw()
Get the shop rating as raw nullable Double object.
Used by internal unit tests.- Returns:
- The raw shop rating as Double object.
-
-