public interface CardValidator
| Modifier and Type | Method and Description |
|---|---|
CardValidationResult |
checkCard(CardInfo cardInfo)
Performs the complete suite of card validation, including the luhn check.
|
java.util.List<CreditCardType> |
getSupportedCardSchemes()
Returns the card schemes supported by the system.
|
boolean |
isCardSchemeSupported(CreditCardType cardScheme)
Determines if the provided card scheme is supported by the system.
|
boolean |
luhnCheck(java.lang.String number)
Performs a luhn check on the given credit card number, in order to determine if it is a valid number.
|
boolean luhnCheck(java.lang.String number)
CardValidationResult checkCard(CardInfo cardInfo)
java.util.List<CreditCardType> getSupportedCardSchemes()
boolean isCardSchemeSupported(CreditCardType cardScheme)
Copyright © 2018 SAP SE. All Rights Reserved.