org.pentaho.di.trans.steps.randomccnumber
Class RandomCreditCardNumberGenerator
java.lang.Object
org.pentaho.di.trans.steps.randomccnumber.RandomCreditCardNumberGenerator
public class RandomCreditCardNumberGenerator
- extends Object
CARD_TYPE_AMEX
public static final int CARD_TYPE_AMEX
- See Also:
- Constant Field Values
CARD_TYPE_DINERS
public static final int CARD_TYPE_DINERS
- See Also:
- Constant Field Values
CARD_TYPE_DISCOVER
public static final int CARD_TYPE_DISCOVER
- See Also:
- Constant Field Values
CARD_TYPE_ENROUTE
public static final int CARD_TYPE_ENROUTE
- See Also:
- Constant Field Values
CARD_TYPE_JCB_15
public static final int CARD_TYPE_JCB_15
- See Also:
- Constant Field Values
CARD_TYPE_JCB_16
public static final int CARD_TYPE_JCB_16
- See Also:
- Constant Field Values
CARD_TYPE_MASTERCARD
public static final int CARD_TYPE_MASTERCARD
- See Also:
- Constant Field Values
CARD_TYPE_VISA
public static final int CARD_TYPE_VISA
- See Also:
- Constant Field Values
CARD_TYPE_VOYAGER
public static final int CARD_TYPE_VOYAGER
- See Also:
- Constant Field Values
CARD_TYPE_AIRPLUS
public static final int CARD_TYPE_AIRPLUS
- See Also:
- Constant Field Values
CARD_TYPE_BANKCARD
public static final int CARD_TYPE_BANKCARD
- See Also:
- Constant Field Values
CARD_TYPE_MAESTRO
public static final int CARD_TYPE_MAESTRO
- See Also:
- Constant Field Values
CARD_TYPE_SOLO
public static final int CARD_TYPE_SOLO
- See Also:
- Constant Field Values
CARD_TYPE_SWITCH
public static final int CARD_TYPE_SWITCH
- See Also:
- Constant Field Values
CARD_TYPE_LASER
public static final int CARD_TYPE_LASER
- See Also:
- Constant Field Values
cardTypes
public static final String[] cardTypes
RandomCreditCardNumberGenerator
public RandomCreditCardNumberGenerator()
getCardType
public static int getCardType(String typeName)
getCardName
public static String getCardName(int id)
GenerateCreditCardNumbers
public static String[] GenerateCreditCardNumbers(int cardType,
int size,
int howMany)
throws KettleException
- Throws:
KettleException