public void touch(int i)
   {
       if(Pin.getInstance().isAuthenticated())
       {
           if(i==1){
               System.out.println("Online payment mode selected !");
               online.PaymentMode=1;
               
           }
           else if(i==2){
               System.out.println("Payment on pick-up requested");
               online.PaymentMode=2;
           }
           else if(i!=3){
               System.out.println("Wrong payment method selected !");
            }
           if(i==3){
               System.out.println("Checkout Button pressed!");
               this.placeOrder();
           }
        }
        else
        {
            System.out.println("Please type a correct contact number first then choose a payment method");
        }
    
    }