public void executeStrategy()
 {
     PaymentStrategy.pay();
 }
 public void pay(IPaymentStrategy paymentMethod)
 {
     paymentMethod.pay(calculateTotal());
 }
        public void pay(IPaymentStrategy paymentMethod)
        {
            int amount = calcTotal();

            paymentMethod.pay(amount);
        }