Interface Shop.DeliveryMode
-
- Enclosing interface:
- Shop
public static interface Shop.DeliveryMode
The instance that represents the product delivery mode settings in the shop control panel.- See Also:
Shop.deliveryMode()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull DeliveryModeType
getType()
Parse the raw type as the enum constant.@NotNull String
getTypeRaw()
Get the raw type of the delivery mode.boolean
isPluginInstalled()
Check is the payment processing plugin is installed for this shop or not.
-
-
-
Method Detail
-
getType
@NotNull @NotNull DeliveryModeType getType()
Parse the raw type as the enum constant.- Returns:
- The parsed delivery mode enum constant.
- See Also:
DeliveryModeType.getByKey(String)
-
getTypeRaw
@NotNull @NotNull String getTypeRaw()
Get the raw type of the delivery mode.- Returns:
- The raw type returned by server.
-
isPluginInstalled
boolean isPluginInstalled()
Check is the payment processing plugin is installed for this shop or not.
Actually only when the delivery mode isDeliveryModeType.PLUGIN
.- Returns:
- The check result (true/false).
- See Also:
getType()
-
-