示例#1
0
 public void CheckOut()
 {
     _product.ShowDetails();
     Console.WriteLine("And its price is : {0}", _product.GetCost());
     _paymentMethod.Payment();
 }