public enum BankNameType extends Enum<BankNameType>
Enum Constant and Description |
---|
ABC
农业银行
|
BOB
北京银行
|
BOC
中国银行
|
CCB
建设银行
|
CEB
光大银行
|
CIB
兴业银行
|
CITIC
中信银行
|
CMB
招商银行
|
CMBC
民生银行
|
COMM
交通银行
|
GDB
广发银行
|
HXB
华夏银行
|
ICBC
中国工商银行
|
NBCB
宁波银行
|
PAB
平安银行
|
PSBC
邮政银行
|
SPDB
浦发银行
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
Map<String,Integer> |
getCreditPrefix() |
Map<String,Integer> |
getDebitPrefix() |
String |
getName() |
static BankNameType |
of(String code) |
static BankNameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BankNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BankNameType ICBC
public static final BankNameType COMM
public static final BankNameType CMB
public static final BankNameType CMBC
public static final BankNameType CITIC
public static final BankNameType SPDB
public static final BankNameType CIB
public static final BankNameType CEB
public static final BankNameType GDB
public static final BankNameType PAB
public static final BankNameType BOB
public static final BankNameType HXB
public static final BankNameType ABC
public static final BankNameType CCB
public static final BankNameType PSBC
public static final BankNameType BOC
public static final BankNameType NBCB
public static BankNameType[] values()
for (BankNameType c : BankNameType.values()) System.out.println(c);
public static BankNameType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getCode()
public static BankNameType of(String code)
Copyright © 2024. All rights reserved.