Package com.foxinmy.weixin4j.model.card
Enum CouponAdvanceInfo.BusinessService
- java.lang.Object
-
- java.lang.Enum<CouponAdvanceInfo.BusinessService>
-
- com.foxinmy.weixin4j.model.card.CouponAdvanceInfo.BusinessService
-
- All Implemented Interfaces:
Serializable
,Comparable<CouponAdvanceInfo.BusinessService>
- Enclosing class:
- CouponAdvanceInfo
public static enum CouponAdvanceInfo.BusinessService extends Enum<CouponAdvanceInfo.BusinessService>
商家服务- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIZ_SERVICE_DELIVER
外卖服务BIZ_SERVICE_FREE_PARK
停车位BIZ_SERVICE_FREE_WIFI
免费wifiBIZ_SERVICE_WITH_PET
可带宠物
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CouponAdvanceInfo.BusinessService
valueOf(String name)
Returns the enum constant of this type with the specified name.static CouponAdvanceInfo.BusinessService[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIZ_SERVICE_DELIVER
public static final CouponAdvanceInfo.BusinessService BIZ_SERVICE_DELIVER
外卖服务
-
BIZ_SERVICE_FREE_PARK
public static final CouponAdvanceInfo.BusinessService BIZ_SERVICE_FREE_PARK
停车位
-
BIZ_SERVICE_WITH_PET
public static final CouponAdvanceInfo.BusinessService BIZ_SERVICE_WITH_PET
可带宠物
-
BIZ_SERVICE_FREE_WIFI
public static final CouponAdvanceInfo.BusinessService BIZ_SERVICE_FREE_WIFI
免费wifi
-
-
Method Detail
-
values
public static CouponAdvanceInfo.BusinessService[] 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 (CouponAdvanceInfo.BusinessService c : CouponAdvanceInfo.BusinessService.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CouponAdvanceInfo.BusinessService 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 nameNullPointerException
- if the argument is null
-
-