private class CreditCardValidator.Visa extends Object implements CreditCardValidator.CreditCardType
| Modifier | Constructor and Description |
|---|---|
private |
CreditCardValidator.Visa() |
private static final String PREFIX
public boolean matches(String card)
CreditCardValidator.CreditCardTypeCreditCardValidator performs those checks before
calling this method. It is generally only required to valid the
length and prefix of the number to determine if it's the correct
type.matches in interface CreditCardValidator.CreditCardTypecard - The card number, never null.Copyright (c) 2001-2004 Apache Software Foundation