Enum RefundStatus
- java.lang.Object
-
- java.lang.Enum<RefundStatus>
-
- com.foxinmy.weixin4j.pay.type.mch.RefundStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<RefundStatus>
public enum RefundStatus extends Enum<RefundStatus>
退款状态- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE
转入代发,退款到银行发现用户的卡作废或者冻结了,导致原路退款银行卡失败,资金回流到商户的现金帐号,需要商户人工干预,通过线下或者财付通转 账的方式进行退款。FAIL
退款失败NOTSURE
未确定,需要商户 原退款单号重新发起PROCESSING
退款处理中SUCCESS
退款成功
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RefundStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static RefundStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final RefundStatus SUCCESS
退款成功
-
FAIL
public static final RefundStatus FAIL
退款失败
-
PROCESSING
public static final RefundStatus PROCESSING
退款处理中
-
NOTSURE
public static final RefundStatus NOTSURE
未确定,需要商户 原退款单号重新发起
-
CHANGE
public static final RefundStatus CHANGE
转入代发,退款到银行发现用户的卡作废或者冻结了,导致原路退款银行卡失败,资金回流到商户的现金帐号,需要商户人工干预,通过线下或者财付通转 账的方式进行退款。
-
-
Method Detail
-
values
public static RefundStatus[] 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 (RefundStatus c : RefundStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefundStatus 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
-
-