Ejemplo n.º 1
0
 public BankAccountBuilder()
 {
     this._id            = default(int);
     this._bank          = EnumBank.BANCO_BRASIL;
     this._agencyNumber  = string.Empty;
     this._agencyDigit   = string.Empty;;
     this._accountNumber = string.Empty;
     this._accountDigit  = string.Empty;
     this._type          = EnumBankAccountType.CONTA_CORRENTE;
     this._amount        = default(double);
 }
Ejemplo n.º 2
0
 public BankAccount(EnumBank bank, string agencyNumber, string agencyDigit,
                    string accountNumer, string accountDigit, EnumBankAccountType type,
                    double amount)
 {
     this.Bank          = bank;
     this.AccountDigit  = accountDigit;
     this.AccountNumber = accountNumer;
     this.AgencyDigit   = agencyDigit;
     this.AgencyNumber  = agencyNumber;
     this.Type          = type;
     this.Amount        = amount;
 }
Ejemplo n.º 3
0
 public BankAccountBuilder WithType(EnumBankAccountType type)
 {
     this._type = type;
     return(this);
 }