Esempio n. 1
0
 public override void AddPlan(RechargePlan rechargePlan)
 {
     if (!_rechargePlans.Contains(rechargePlan))
     {
         _rechargePlans.Add(rechargePlan);
     }
 }
Esempio n. 2
0
 public PaymentFactory(RechargePlan rechargePlan, string paymentMethod)
 {
     this.paymentMethod = paymentMethod;
     this.rechargePlan  = rechargePlan;
 }
 public abstract void AddPlan(RechargePlan rechargePlan);