资 源 简 介
Supported networks: Visa, American Express, MasterCard, Diners, Discover, IsraCard, Maestro, Switch
Java
final BankCard card = BankCard.parse("1111222233334444");if (card != null) { System.out.println("Network: " + card.getNetwork() + ", valid: " + card.isValid());} else { System.out.println("Unknown card.");}
See creditcard4j GitHub project.