com.foxinmy.weixin4j.model.card
Enum CouponAdvanceInfo.BusinessService

java.lang.Object
  extended by java.lang.Enum<CouponAdvanceInfo.BusinessService>
      extended by 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
BIZ_SERVICE_DELIVER
          外卖服务
BIZ_SERVICE_FREE_PARK
          停车位
BIZ_SERVICE_FREE_WIFI
          免费wifi
BIZ_SERVICE_WITH_PET
          可带宠物
 
Method Summary
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.
 
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

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 name
NullPointerException - if the argument is null


Copyright © 2014–2017. All rights reserved.