Package io.voucherify.client.model
Enum Class LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum
java.lang.Object
java.lang.Enum<LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum>
io.voucherify.client.model.LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum>,Constable
- Enclosing class:
- LoyaltiesMembersRedemptionRedeemResponseBodyChannel
public static enum LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum
extends Enum<LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum>
The source of the channel for the redemption. A `USER` corresponds to the Voucherify Dashboard, `API` corresponds to the API, and `AUTO_REDEEM` corresponds to a loyalty campaign reward that has been redeemed automatically.
-
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
-
USER
-
API
-
AUTO_REDEEM
-
-
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 LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum 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<LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum>
-
fromValue
public static LoyaltiesMembersRedemptionRedeemResponseBodyChannel.ChannelTypeEnum fromValue(String value)
-