Constructor and Description |
---|
PaymentUtilitiesPlugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
determineCardType(java.lang.String sBin_p)
Determines the card type by looking at the given BIN - i.e.
|
java.lang.String |
getName() |
public java.lang.String getName()
public java.lang.String determineCardType(java.lang.String sBin_p)
sBin_p
- Six or more digits from the start of the card number (we'll only consider
the first six, anyway).null
if the card type
cannot be determined.java.lang.IllegalArgumentException
- if sBin_p is null or < 6 characters.