public class Luhn extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Luhn() |
| Modifier and Type | Method and Description |
|---|---|
static CardType |
getCardType(String cardNumber)
Return the CardType by inspecting the first digits of the card number.
|
static String |
stripNonDigits(String cardNumber)
Strips non-digits from the cardNumber provided.
|
Copyright © 2016. All Rights Reserved.