Package io.voucherify.client.model
Enum Class ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum
java.lang.Object
java.lang.Enum<ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum>
io.voucherify.client.model.ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum
- All Implemented Interfaces:
Serializable,Comparable<ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum>,Constable
- Enclosing class:
- ManagementProjectsStackingRulesGetResponseBody
public static enum ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum
extends Enum<ManagementProjectsStackingRulesGetResponseBody.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
public static final ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum CATEGORY_HIERARCHY -
REQUESTED_ORDER
public static final ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum 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
public static ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum valueOf(String name) 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<ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum>
-
fromValue
public static ManagementProjectsStackingRulesGetResponseBody.RedeemablesSortingRuleEnum fromValue(String value)
-