Class BlinkCardUtils
java.lang.Object
com.microblink.blinkcard.entities.recognizers.blinkcard.BlinkCardUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IssuerdetermineIssuerFromCardNumberPrefix(String cardNumberPrefix) Determine payment card issuer based on first couple of digits of the payment card number.static booleanisValidCardNumber(String cardNumber) Checks whether the provided cardNumber is valid.static booleanisValidIban(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.
-