Esempio n. 1
0
        public void SetAddress(BankAddress address)
        {
            if (address == null)
            {
                return;
            }

            Line1   = address.Line1;
            Line2   = address.Line2;
            Zipcode = address.Zipcode;
            City    = address.City;
            Country = address.Country;
        }
Esempio n. 2
0
 public BankAccount(Guid id, string name, string owner, string iban, string bic, BankAddress address, User user)
     : base(id, name, PaymentKind.BankAccount, user)
 {
     IBAN    = iban;
     BIC     = bic;
     Owner   = owner;
     Line1   = address.Line1;
     Line2   = address.Line2;
     Zipcode = address.Zipcode;
     City    = address.City;
     Country = address.Country;
 }