|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CardIssuer
Interface of credit card Issuer. Implemented class should include card name and check method.
Field Summary | |
---|---|
static int |
VAILDATE_ERROR_WRONG_LENGTH
Code to be returned when card number length is invalid |
static int |
VAILDATE_SUCCESS
Code to be returned when card number is valid |
Method Summary | |
---|---|
Icon |
getIcon()
Get the card issuer's icon |
String |
getName()
Get the card issuer's name |
int |
isCardNumberValid(String cardNumber)
Check if specified card number length and identifier is valid for the issuer. |
Field Detail |
---|
static final int VAILDATE_SUCCESS
static final int VAILDATE_ERROR_WRONG_LENGTH
Method Detail |
---|
int isCardNumberValid(String cardNumber)
cardNumber
- number to be checked
String getName()
Icon getIcon()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |