Ejemplo n.º 1
0
 public void payCash(float price, UIPayment payMethod)
 {
     CoinMachineAdap coin = new CoinMachineAdap();
      coin.start();
      coin.pay(price);
      coin.stop();
 }
Ejemplo n.º 2
0
        public void payCash(float price, UIPayment payMethod)
        {
            CoinMachineAdap coin = new CoinMachineAdap();

            coin.start();
            coin.pay(price);
            coin.stop();
        }