|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.field.creditcard.CardIssuers
public class CardIssuers
A class contains all the credit card issuers. By default we added VISA, MasterCard, AMEX and Discover. You can add more or remove them depending on what you need in your application.
Constructor Summary | |
---|---|
CardIssuers()
Issuer Check Container Constructor |
Method Summary | |
---|---|
static CardIssuer |
getCardIssuer(String cardNumber)
Check if specified card number is valid by reserved issuer |
static void |
registerDefaultIssuers()
Registers the default card issuers. |
static void |
registerIssuer(CardIssuer cardIssuer)
Register issuer to CardIssuers. |
static void |
unregisterIssuer(String cardIssuerName)
Register issuer to CardIssuers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CardIssuers()
Method Detail |
---|
public static void registerDefaultIssuers()
public static void registerIssuer(CardIssuer cardIssuer)
cardIssuer
- the card issuerpublic static void unregisterIssuer(String cardIssuerName)
cardIssuerName
- the card issuer namepublic static CardIssuer getCardIssuer(String cardNumber)
cardNumber
- number to be checked
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |