Package com.foxinmy.weixin4j.pay.type
Enum ProfitIdType
- java.lang.Object
-
- java.lang.Enum<ProfitIdType>
-
- com.foxinmy.weixin4j.pay.type.ProfitIdType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfitIdType>
public enum ProfitIdType extends Enum<ProfitIdType>
分帐单号类型- Since:
- weixin4j-pay 1.1.0
- Author:
- kit (kit.li@qq.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORDER_ID
微信分帐单号OUT_ORDER_NO
商户分帐单号
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfitIdType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfitIdType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORDER_ID
public static final ProfitIdType ORDER_ID
微信分帐单号
-
OUT_ORDER_NO
public static final ProfitIdType OUT_ORDER_NO
商户分帐单号
-
-
Method Detail
-
values
public static ProfitIdType[] 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 (ProfitIdType c : ProfitIdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfitIdType 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
-
-