com.foxinmy.weixin4j.type.mch
Enum RefundStatus

java.lang.Object
  extended by java.lang.Enum<RefundStatus>
      extended by com.foxinmy.weixin4j.type.mch.RefundStatus
All Implemented Interfaces:
Serializable, Comparable<RefundStatus>

public enum RefundStatus
extends Enum<RefundStatus>

退款状态

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Enum Constant Summary
CHANGE
          转入代发,退款到银行发现用户的卡作废或者冻结了,导致原路退款银行卡失败,资金回流到商户的现金帐号,需要商户人工干预,通过线下或者财付通转 账的方式进行退款。
FAIL
          退款失败
NOTSURE
          未确定,需要商户 原退款单号重新发起
PROCESSING
          退款处理中
SUCCESS
          退款成功
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2014–2017. All rights reserved.