Enum RelationType
- java.lang.Object
-
- java.lang.Enum<RelationType>
-
- com.foxinmy.weixin4j.pay.type.profitsharing.RelationType
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationType>
public enum RelationType extends Enum<RelationType>
子商户与接收方的关系- Since:
- weixin4j-pay 1.1.0
- Author:
- kit (kit.li@qq.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRAND
品牌方CUSTOM
自定义DISTRIBUTOR
分销商HEADQUARTER
总部PARTNER
合作伙伴SERVICE_PROVIDER
服务商STAFF
员工STORE
门店STORE_OWNER
店主SUPPLIER
供应商USER
用户
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_PROVIDER
public static final RelationType SERVICE_PROVIDER
服务商
-
STORE
public static final RelationType STORE
门店
-
STAFF
public static final RelationType STAFF
员工
-
STORE_OWNER
public static final RelationType STORE_OWNER
店主
-
PARTNER
public static final RelationType PARTNER
合作伙伴
-
HEADQUARTER
public static final RelationType HEADQUARTER
总部
-
BRAND
public static final RelationType BRAND
品牌方
-
DISTRIBUTOR
public static final RelationType DISTRIBUTOR
分销商
-
USER
public static final RelationType USER
用户
-
SUPPLIER
public static final RelationType SUPPLIER
供应商
-
CUSTOM
public static final RelationType CUSTOM
自定义
-
-
Method Detail
-
values
public static RelationType[] 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 (RelationType c : RelationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationType 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
-
-