Package com.foxinmy.weixin4j.type.mch
Enum RedpacketSceneType
- java.lang.Object
-
- java.lang.Enum<RedpacketSceneType>
-
- com.foxinmy.weixin4j.type.mch.RedpacketSceneType
-
- All Implemented Interfaces:
Serializable
,Comparable<RedpacketSceneType>
@Deprecated public enum RedpacketSceneType extends Enum<RedpacketSceneType>
Deprecated.迁移到子模块weixin4j-pay发放红包使用场景- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RedpacketSceneType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static RedpacketSceneType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCT_1
public static final RedpacketSceneType PRODUCT_1
Deprecated.商品促销
-
PRODUCT_2
public static final RedpacketSceneType PRODUCT_2
Deprecated.抽奖
-
PRODUCT_3
public static final RedpacketSceneType PRODUCT_3
Deprecated.虚拟物品兑奖
-
PRODUCT_4
public static final RedpacketSceneType PRODUCT_4
Deprecated.企业内部福利
-
PRODUCT_5
public static final RedpacketSceneType PRODUCT_5
Deprecated.渠道分润
-
PRODUCT_6
public static final RedpacketSceneType PRODUCT_6
Deprecated.保险回馈
-
PRODUCT_7
public static final RedpacketSceneType PRODUCT_7
Deprecated.彩票派奖
-
PRODUCT_8
public static final RedpacketSceneType PRODUCT_8
Deprecated.税务刮奖
-
-
Method Detail
-
values
public static RedpacketSceneType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RedpacketSceneType c : RedpacketSceneType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedpacketSceneType valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-