Package io.voucherify.client.model
Enum Class LoyaltyTiersExpirationAllExpirationDate.TypeEnum
java.lang.Object
java.lang.Enum<LoyaltyTiersExpirationAllExpirationDate.TypeEnum>
io.voucherify.client.model.LoyaltyTiersExpirationAllExpirationDate.TypeEnum
- All Implemented Interfaces:
Serializable,Comparable<LoyaltyTiersExpirationAllExpirationDate.TypeEnum>,Constable
- Enclosing class:
- LoyaltyTiersExpirationAllExpirationDate
public static enum LoyaltyTiersExpirationAllExpirationDate.TypeEnum
extends Enum<LoyaltyTiersExpirationAllExpirationDate.TypeEnum>
What triggers the tier to expire for a customer. `END_OF_PERIOD`: Expire tier at the end of the period. `END_OF_NEXT_PERIOD`: Expire tier at the end of the next period. `BALANCE_DROP`: Tier expires when the points balance drops below the required range of the tier. `CUSTOM`: Tier expires after a certain time period passes following the instance the points balance drops below the required range of the tier.
-
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
-
END_OF_PERIOD
-
END_OF_NEXT_PERIOD
-
BALANCE_DROP
-
CUSTOM
-
-
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<LoyaltyTiersExpirationAllExpirationDate.TypeEnum>
-
fromValue
-