com.foxinmy.weixin4j.type.mch
Enum RedpacketSceneType

java.lang.Object
  extended by java.lang.Enum<RedpacketSceneType>
      extended by com.foxinmy.weixin4j.type.mch.RedpacketSceneType
All Implemented Interfaces:
Serializable, Comparable<RedpacketSceneType>

public enum RedpacketSceneType
extends Enum<RedpacketSceneType>

发放红包使用场景

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)

Enum Constant Summary
PRODUCT_1
          商品促销
PRODUCT_2
          抽奖
PRODUCT_3
          虚拟物品兑奖
PRODUCT_4
          企业内部福利
PRODUCT_5
          渠道分润
PRODUCT_6
          保险回馈
PRODUCT_7
          彩票派奖
PRODUCT_8
          税务刮奖
 
Method Summary
static RedpacketSceneType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RedpacketSceneType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PRODUCT_1

public static final RedpacketSceneType PRODUCT_1
商品促销


PRODUCT_2

public static final RedpacketSceneType PRODUCT_2
抽奖


PRODUCT_3

public static final RedpacketSceneType PRODUCT_3
虚拟物品兑奖


PRODUCT_4

public static final RedpacketSceneType PRODUCT_4
企业内部福利


PRODUCT_5

public static final RedpacketSceneType PRODUCT_5
渠道分润


PRODUCT_6

public static final RedpacketSceneType PRODUCT_6
保险回馈


PRODUCT_7

public static final RedpacketSceneType PRODUCT_7
彩票派奖


PRODUCT_8

public static final RedpacketSceneType PRODUCT_8
税务刮奖

Method Detail

values

public static RedpacketSceneType[] values()
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)
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 name
NullPointerException - if the argument is null


Copyright © 2014–2017. All rights reserved.