Interface Shop.CustomizationTab
-
- Enclosing interface:
- Shop
public static interface Shop.CustomizationTab
The instance that represents the customization tab settings in the shop control panel.- See Also:
Shop.customizationTab()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getAccentColor()
Get the theming accent color used in this shop.@NotNull Optional<String>
getCustomCSS()
Get the hosted URL to custom CSS file used in this shop.@NotNull Optional<String>
getDescription()
Get the optional description of this shop.@NotNull Shop.ParticlesType
getParticlesType()
Parse the raw particles type as the enum constant.@NotNull String
getParticlesTypeRaw()
Get the raw type of the used particles.@NotNull String
getPaymentInstruction()
Get the payment instruction located on the webpage as HTML code snippet.int
getThemeId()
Get the ID of used webpage pattern (a.k.a.boolean
isPaymentInstructionHidden()
Check is the payment instruction is hidden in this shop or not.boolean
isProductImagePaddingsEnabled()
Check is this shop has a paddings in the product images or not.boolean
isServersHidden()
Check is the servers list is hidden in this shop or not.boolean
isSideImageHidden()
Check is the side image hidden in this shop or not.boolean
isTotalOnlineHidden()
Check is the total servers online is hidden in this shop or not.boolean
isUsesBackgroundOverlay()
Check is this shop uses the background overlay or not.
-
-
-
Method Detail
-
getDescription
@NotNull @NotNull Optional<String> getDescription()
Get the optional description of this shop.- Returns:
- The shop description.
-
getAccentColor
@NotNull @NotNull String getAccentColor()
Get the theming accent color used in this shop.- Returns:
- The theme accent color in this shop.
-
getThemeId
int getThemeId()
Get the ID of used webpage pattern (a.k.a. theme).- Returns:
- The shop webpage theme ID.
-
isUsesBackgroundOverlay
boolean isUsesBackgroundOverlay()
Check is this shop uses the background overlay or not.- Returns:
- The check result (true/false).
-
isSideImageHidden
boolean isSideImageHidden()
Check is the side image hidden in this shop or not.- Returns:
- The check result (true/false).
-
isProductImagePaddingsEnabled
boolean isProductImagePaddingsEnabled()
Check is this shop has a paddings in the product images or not.- Returns:
- The check result (true/false).
-
isServersHidden
boolean isServersHidden()
Check is the servers list is hidden in this shop or not.- Returns:
- The check result (true/false).
-
isTotalOnlineHidden
boolean isTotalOnlineHidden()
Check is the total servers online is hidden in this shop or not.- Returns:
- The check result (true/false).
-
getParticlesType
@NotNull @NotNull Shop.ParticlesType getParticlesType()
Parse the raw particles type as the enum constant.- Returns:
- The parsed particles type enum constant.
- See Also:
Shop.ParticlesType.getByKey(String)
-
getParticlesTypeRaw
@NotNull @NotNull String getParticlesTypeRaw()
Get the raw type of the used particles.- Returns:
- The raw type returned by server.
-
getCustomCSS
@NotNull @NotNull Optional<String> getCustomCSS()
Get the hosted URL to custom CSS file used in this shop.- Returns:
- The direct URL to custom CSS file.
-
getPaymentInstruction
@NotNull @NotNull String getPaymentInstruction()
Get the payment instruction located on the webpage as HTML code snippet.- Returns:
- The payment instruction HTML code snippet.
-
isPaymentInstructionHidden
boolean isPaymentInstructionHidden()
Check is the payment instruction is hidden in this shop or not.- Returns:
- The check result (true/false).
-
-