Class BlinkCardUtils
java.lang.Object
com.microblink.blinkcard.entities.recognizers.blinkcard.BlinkCardUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Issuer
determineIssuerFromCardNumberPrefix
(String cardNumberPrefix) Determine payment card issuer based on first couple of digits of the payment card number.static boolean
isValidCardNumber
(String cardNumber) Checks whether the provided cardNumber is valid.static boolean
isValidIban
(String iban) Checks whether the provided iban is valid.
-
Constructor Details
-
BlinkCardUtils
public BlinkCardUtils()
-
-
Method Details
-
determineIssuerFromCardNumberPrefix
Determine payment card issuer based on first couple of digits of the payment card number. -
isValidCardNumber
Checks whether the provided cardNumber is valid. Validation is performed by calculating the check digit using Luhn algorithm and comparing it with the last digit of the provided card number. -
isValidIban
Checks whether the provided iban is valid.
-