public enum AccountType extends Enum<AccountType>
| 枚举常量和说明 |
|---|
ACCOUNT_TYPE_BUSINESS
对公银行账户
|
ACCOUNT_TYPE_PRIVATE
经营者个人银行卡
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AccountType |
getByKey(String key) |
String |
getKey() |
String |
getValue() |
static AccountType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AccountType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AccountType ACCOUNT_TYPE_BUSINESS
public static final AccountType ACCOUNT_TYPE_PRIVATE
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static AccountType getByKey(String key)
public String getKey()
public String getValue()
Copyright © 2025. All rights reserved.