Esempio n. 1
0
 public override void Pay()
 {
     PaymentMedium.StartTransaction("Master");
     Console.WriteLine($"Master Payment Method via {PaymentMedium.GetType().Name}");
 }
Esempio n. 2
0
 public override void Pay()
 {
     PaymentMedium.StartTransaction("American Express");
     Console.WriteLine($"AmericanExpress Payment Method Invoked via {PaymentMedium.GetType().Name}");
 }