Exemplo n.º 1
0
 public RegularCardWithDeposit(Account account) : base(account)
 {
     payment = new RegularPayment();
     loan    = new LoanWithDeposit(100, 5000);
 }
 public MasterCardWithDeposit(Account account) : base(account)
 {
     payment = new MasterPayment();
     loan    = new LoanWithDeposit(100f, 250000f);
 }
 public PremiumCardWithDeposit(Account account) : base(account)
 {
     payment = new PremiumPayment();
     loan    = new LoanWithDeposit(100f, 20000f);
 }