Enum RefundAccountType
- java.lang.Object
-
- java.lang.Enum<RefundAccountType>
-
- com.foxinmy.weixin4j.pay.type.mch.RefundAccountType
-
- All Implemented Interfaces:
Serializable
,Comparable<RefundAccountType>
public enum RefundAccountType extends Enum<RefundAccountType>
退款资金来源- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REFUND_SOURCE_RECHARGE_FUNDS
---可用余额退款REFUND_SOURCE_UNSETTLED_FUNDS
---未结算资金退款(默认使用未结算资金退款)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RefundAccountType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RefundAccountType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFUND_SOURCE_UNSETTLED_FUNDS
public static final RefundAccountType REFUND_SOURCE_UNSETTLED_FUNDS
---未结算资金退款(默认使用未结算资金退款)
-
REFUND_SOURCE_RECHARGE_FUNDS
public static final RefundAccountType REFUND_SOURCE_RECHARGE_FUNDS
---可用余额退款
-
-
Method Detail
-
values
public static RefundAccountType[] 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 (RefundAccountType c : RefundAccountType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefundAccountType 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
-
-