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