org.pentaho.di.trans.steps.creditcardvalidator
Class CreditCardVerifier
java.lang.Object
org.pentaho.di.trans.steps.creditcardvalidator.CreditCardVerifier
public class CreditCardVerifier
- extends Object
- Since:
- 03-Juin-2008
- Author:
- Samatar
INVALID
public static final int INVALID
- See Also:
- Constant Field Values
VISA
public static final int VISA
- See Also:
- Constant Field Values
MASTERCARD
public static final int MASTERCARD
- See Also:
- Constant Field Values
AMERICAN_EXPRESS
public static final int AMERICAN_EXPRESS
- See Also:
- Constant Field Values
EN_ROUTE
public static final int EN_ROUTE
- See Also:
- Constant Field Values
DINERS_CLUB
public static final int DINERS_CLUB
- See Also:
- Constant Field Values
DISCOVER
public static final int DISCOVER
- See Also:
- Constant Field Values
JCB1
public static final int JCB1
- See Also:
- Constant Field Values
JCB2
public static final int JCB2
- See Also:
- Constant Field Values
BANKCARD
public static final int BANKCARD
- See Also:
- Constant Field Values
MAESTRO
public static final int MAESTRO
- See Also:
- Constant Field Values
SOLO
public static final int SOLO
- See Also:
- Constant Field Values
SWITCH
public static final int SWITCH
- See Also:
- Constant Field Values
AIRPLUS
public static final int AIRPLUS
- See Also:
- Constant Field Values
LASER
public static final int LASER
- See Also:
- Constant Field Values
VOYAGER
public static final int VOYAGER
- See Also:
- Constant Field Values
CreditCardVerifier
public CreditCardVerifier()
getCardName
public static String getCardName(int id)
getNotValidCardNames
public static String getNotValidCardNames(int id)
CheckCC
public static ReturnIndicator CheckCC(String CardNumber)
luhnValidate
public static boolean luhnValidate(String numberString)
getCardID
public static int getCardID(String number)
isNumber
public static boolean isNumber(String n)