C# Класс ModulusChecking.Steps.Calculators.DoubleAlternateCalculatorExceptionFive

Наследование: BaseModulusCalculator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Process ( BankAccountDetails bankAccountDetails ) : bool

/Perform the second double alternate check, and for the double alternate check with exception 5 the checkdigit is h from the original account number, except: • After dividing the result by 10; - if the remainder=0 and h=0 the account number is valid - for all other remainders, take the remainder away from 10. If the number you get is the same as h then the account number is valid.

Защищенные методы

Метод Описание
GetWeightSumForStep ( BankAccountDetails bankAccountDetails ) : int

Описание методов

GetWeightSumForStep() защищенный абстрактный Метод

protected abstract GetWeightSumForStep ( BankAccountDetails bankAccountDetails ) : int
bankAccountDetails ModulusChecking.Models.BankAccountDetails
Результат int

Process() публичный Метод

/Perform the second double alternate check, and for the double alternate check with exception 5 the checkdigit is h from the original account number, except: • After dividing the result by 10; - if the remainder=0 and h=0 the account number is valid - for all other remainders, take the remainder away from 10. If the number you get is the same as h then the account number is valid.
public Process ( BankAccountDetails bankAccountDetails ) : bool
bankAccountDetails ModulusChecking.Models.BankAccountDetails
Результат bool