コード例 #1
0
 public IBANNumberDesignator(string originalNumber)
     : base(makeNumberNRB(originalNumber))
 {
     this.originalNumber    = originalNumber;
     accountNumberValidator = new AccountNumberValidator.AccountNumberValidator(originalNumber);
     designateValuesIfNumberIsCorrect();
 }
コード例 #2
0
 public IBANNumberDesignator(string originalNumber)
     : base(makeNumberNRB(originalNumber))
 {
     this.originalNumber = originalNumber;
     accountNumberValidator = new AccountNumberValidator.AccountNumberValidator(originalNumber);
     designateValuesIfNumberIsCorrect();
 }
コード例 #3
0
 static string makeNumberIBAN(string number)
 {
     AccountNumberValidator.AccountNumberValidator validator = new AccountNumberValidator.AccountNumberValidator(number);
     if (validator.isNRBAccountNumber())
     {
         number = "PL" + number;
     }
     return(number);
 }
コード例 #4
0
 static string makeNumberNRB(string number)
 {
     AccountNumberValidator.AccountNumberValidator validator = new AccountNumberValidator.AccountNumberValidator(number);
     if (validator.isIBANAccountNumber())
     {
         number = number.Substring(2);
     }
     return(number);
 }
コード例 #5
0
 static string makeNumberNRB(string number)
 {
     AccountNumberValidator.AccountNumberValidator validator = new AccountNumberValidator.AccountNumberValidator(number);
     if (validator.isIBANAccountNumber())
     {
         number = number.Substring(2);
     }
     return number;
 }
コード例 #6
0
 static string makeNumberIBAN(string number)
 {
     AccountNumberValidator.AccountNumberValidator validator = new AccountNumberValidator.AccountNumberValidator(number);
     if(validator.isNRBAccountNumber())
     {
         number = "PL" + number;
     }
     return number;
 }
コード例 #7
0
 public NRBNumberDesignator(string originalNumber)
 {
     this.originalNumber = originalNumber;
     accountNumberValidator = new AccountNumberValidator.AccountNumberValidator(originalNumber);
     designateValuesIfNumberIsCorrect();
 }
コード例 #8
0
 public NRBNumberDesignator(string originalNumber)
 {
     this.originalNumber    = originalNumber;
     accountNumberValidator = new AccountNumberValidator.AccountNumberValidator(originalNumber);
     designateValuesIfNumberIsCorrect();
 }