com.foxinmy.weixin4j.type.mch
Enum RefundChannel

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

public enum RefundChannel
extends Enum<RefundChannel>

退款渠道

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

Enum Constant Summary
BALANCE
          退回到余额
BANK
          银行
ORIGINAL
          原路退款
OTHER_BALANCE
          原账户异常退到其他余额账户
OTHER_BANKCARD
          原银行卡异常退到其他银行卡
TENPAY
          财付通
 
Method Summary
static RefundChannel valueOf(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.
 
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

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


Copyright © 2014–2017. All rights reserved.