|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.util.CreditCardUtils.CardType
An inner class that holds handy information about each type of credit card.
| Field Summary | |
protected String |
theAka
the alt name |
protected String |
theName
the name |
protected int[] |
thePrefixValues
the array of prefix values |
protected int |
theWidth
the number of digits in the card number |
| Constructor Summary | |
CreditCardUtils.CardType(String name,
String aka,
int width,
int[] prefixen)
Constructor that takes a name, aka value, width and array of prefix values. |
|
| Method Summary | |
String |
getAka()
Get the alternative name of the card type. |
String |
getName()
Get the name of the card type. |
int[] |
getPrefixValues()
Get the array of prefix values of the card type. |
int |
getWidth()
Get the width of the card type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String theName
protected String theAka
protected int theWidth
protected int[] thePrefixValues
| Constructor Detail |
public CreditCardUtils.CardType(String name,
String aka,
int width,
int[] prefixen)
name - The card name.aka - An alternative card name.width - The number of digits allowed in the card number.prefixen - The array of prefix numbers.| Method Detail |
public String getName()
public int getWidth()
public String getAka()
public int[] getPrefixValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||