public static BankAccountDetails From(SortCode sortCode, AccountNumber accountNumber, IEnumerable <IModulusWeightMapping> weightMappings) { return(new BankAccountDetails(sortCode.ToString(), accountNumber.ToString()) { WeightMappings = weightMappings }); }
public static BankAccountDetails From(SortCode sortCode, AccountNumber accountNumber, IEnumerable<IModulusWeightMapping> weightMappings) { return new BankAccountDetails(sortCode.ToString(), accountNumber.ToString()) { WeightMappings = weightMappings }; }
public String ToCombinedString() { return(SortCode.ToString() + AccountNumber); }