C# Class ModulusChecking.Models.BankAccountDetails

Exibir arquivo Open project: pauldambra/ModulusChecker Class Usage Examples

Public Properties

Property Type Description
AisNotZeroAndGisNineWeights int[]
AisNotZeroAndGisNotNineWeights int[]

Public Methods

Method Description
BankAccountDetails ( string sortCode, string accountNumber ) : System
From ( SortCode sortCode, ModulusChecking.Models.AccountNumber accountNumber, IEnumerable weightMappings ) : BankAccountDetails
GetExceptionTwoAlternativeWeights ( int originalWeights ) : int[]
IsExceptionThreeAndCanSkipSecondCheck ( ) : bool
IsExceptionTwoAndFirstCheckPassed ( ) : bool
IsSecondCheckRequired ( ) : bool
IsUncheckableForeignAccount ( ) : bool
IsValidForModulusCheck ( ) : bool
RequiresCouttsAccountCheck ( ) : bool
ToCombinedString ( ) : String
ToString ( ) : string

Private Methods

Method Description
ExceptionEightPreProcessing ( IEnumerable mappings ) : void
ExceptionSevenPreprocessing ( IList mappings ) : IList
ExceptionTenPreProcessing ( IList mappings ) : IList
PrepareString ( string value ) : string
ZeroiseUtoB ( ModulusWeightMapping weightMapping ) : ModulusWeightMapping

Method Details

BankAccountDetails() public method

public BankAccountDetails ( string sortCode, string accountNumber ) : System
sortCode string
accountNumber string
return System

From() public static method

public static From ( SortCode sortCode, ModulusChecking.Models.AccountNumber accountNumber, IEnumerable weightMappings ) : BankAccountDetails
sortCode SortCode
accountNumber ModulusChecking.Models.AccountNumber
weightMappings IEnumerable
return BankAccountDetails

GetExceptionTwoAlternativeWeights() public method

public GetExceptionTwoAlternativeWeights ( int originalWeights ) : int[]
originalWeights int
return int[]

IsExceptionThreeAndCanSkipSecondCheck() public method

public IsExceptionThreeAndCanSkipSecondCheck ( ) : bool
return bool

IsExceptionTwoAndFirstCheckPassed() public method

public IsExceptionTwoAndFirstCheckPassed ( ) : bool
return bool

IsSecondCheckRequired() public method

public IsSecondCheckRequired ( ) : bool
return bool

IsUncheckableForeignAccount() public method

public IsUncheckableForeignAccount ( ) : bool
return bool

IsValidForModulusCheck() public method

public IsValidForModulusCheck ( ) : bool
return bool

RequiresCouttsAccountCheck() public method

public RequiresCouttsAccountCheck ( ) : bool
return bool

ToCombinedString() public method

public ToCombinedString ( ) : String
return String

ToString() public method

public ToString ( ) : string
return string

Property Details

AisNotZeroAndGisNineWeights public_oe static_oe property

public static int[] AisNotZeroAndGisNineWeights
return int[]

AisNotZeroAndGisNotNineWeights public_oe static_oe property

public static int[] AisNotZeroAndGisNotNineWeights
return int[]