Example #1
0
        /// <summary>
        /// Initializes the account number.
        /// </summary>
        /// <param name="version">The version.</param>
        /// <returns></returns>
        protected AccountNumber _init_AccountNumber(AccountVersion version)
        {
            AccountNumber acc = new AccountNumber(version, AccHolder.ClientID);

            return(acc);
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Account"/> class.
 /// </summary>
 protected Account(AccountVersion version, Client holder)
 {
     this.acc_Balance = 0;
     AccHolder        = holder;
     this.accNum      = _init_AccountNumber(version);
 }