Enum Class Channel

java.lang.Object
java.lang.Enum<Channel>
com.wechat.pay.java.service.refund.model.Channel
All Implemented Interfaces:
Serializable, Comparable<Channel>, Constable

public enum Channel extends Enum<Channel>
ORIGINAL - 原路退款,退款渠道 BALANCE - 退回到余额,退款渠道 OTHER_BALANCE - 原账户异常退到其他余额账户,退款渠道 OTHER_BANKCARD - 原银行卡异常退到其他银行卡,退款渠道
  • Enum Constant Details

    • ORIGINAL

      @SerializedName("ORIGINAL") public static final Channel ORIGINAL
    • BALANCE

      @SerializedName("BALANCE") public static final Channel BALANCE
    • OTHER_BALANCE

      @SerializedName("OTHER_BALANCE") public static final Channel OTHER_BALANCE
    • OTHER_BANKCARD

      @SerializedName("OTHER_BANKCARD") public static final Channel OTHER_BANKCARD
  • Method Details

    • values

      public static Channel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Channel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null