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); }
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; }
public BankAccountBuilder WithType(EnumBankAccountType type) { this._type = type; return(this); }