Class ModCheckValidator

    • Constructor Detail

      • ModCheckValidator

        public ModCheckValidator()
        Deprecated.
    • Method Detail

      • isCheckDigitValid

        public boolean isCheckDigitValid​(List<Integer> digits,
                                         char checkDigit)
        Deprecated.
        Check if the input passes the Mod10 (Luhn algorithm implementation only) or Mod11 test
        Specified by:
        isCheckDigitValid in class ModCheckBase
        Parameters:
        digits - the digits over which to calculate the Mod10 or Mod11 checksum
        checkDigit - the check digit
        Returns:
        true if the mod 10/11 result matches the check digit, false otherwise