java.lang.Object
com.microblink.blinkcard.entities.recognizers.blinkcard.BlinkCardUtils

public final class BlinkCardUtils extends Object
  • Constructor Details

    • BlinkCardUtils

      public BlinkCardUtils()
  • Method Details

    • determineIssuerFromCardNumberPrefix

      @NonNull public static Issuer determineIssuerFromCardNumberPrefix(String cardNumberPrefix)
      Determine payment card issuer based on first couple of digits of the payment card number.
    • isValidCardNumber

      public static boolean isValidCardNumber(String cardNumber)
      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

      public static boolean isValidIban(String iban)
      Checks whether the provided iban is valid.