Enum RefundChannel
- java.lang.Object
-
- java.lang.Enum<RefundChannel>
-
- com.foxinmy.weixin4j.pay.type.mch.RefundChannel
-
- All Implemented Interfaces:
Serializable,Comparable<RefundChannel>
public enum RefundChannel extends Enum<RefundChannel>
退款渠道- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALANCE退回到余额BANK银行ORIGINAL原路退款OTHER_BALANCE原账户异常退到其他余额账户OTHER_BANKCARD原银行卡异常退到其他银行卡TENPAY财付通
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RefundChannelvalueOf(String name)Returns the enum constant of this type with the specified name.static RefundChannel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL
public static final RefundChannel ORIGINAL
原路退款
-
BALANCE
public static final RefundChannel BALANCE
退回到余额
-
TENPAY
public static final RefundChannel TENPAY
财付通
-
BANK
public static final RefundChannel BANK
银行
-
OTHER_BALANCE
public static final RefundChannel OTHER_BALANCE
原账户异常退到其他余额账户
-
OTHER_BANKCARD
public static final RefundChannel OTHER_BANKCARD
原银行卡异常退到其他银行卡
-
-
Method Detail
-
values
public static RefundChannel[] 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 (RefundChannel c : RefundChannel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefundChannel 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
-
-