Package io.voucherify.client.model
Enum Class ManagementProjectsStackingRules.RedeemablesSortingRuleEnum
java.lang.Object
java.lang.Enum<ManagementProjectsStackingRules.RedeemablesSortingRuleEnum>
io.voucherify.client.model.ManagementProjectsStackingRules.RedeemablesSortingRuleEnum
- All Implemented Interfaces:
Serializable,Comparable<ManagementProjectsStackingRules.RedeemablesSortingRuleEnum>,Constable
- Enclosing class:
- ManagementProjectsStackingRules
public static enum ManagementProjectsStackingRules.RedeemablesSortingRuleEnum
extends Enum<ManagementProjectsStackingRules.RedeemablesSortingRuleEnum>
Defines the sorting rule for redeemables. `\"CATEGORY_HIERARCHY\"` means that redeemables are applied with the order established by the hierarchy of the categories. `\"REQUESTED_ORDER\"` means that redeemables are applied with the order established in the request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
CATEGORY_HIERARCHY
-
REQUESTED_ORDER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<ManagementProjectsStackingRules.RedeemablesSortingRuleEnum>
-
fromValue
-