public static String convertObjectToString(Order orderObj)
        {
            String encodedOrder;
            encodedOrder = orderObj.getSenderId() + "#" + orderObj.getCardNum().ToString() + "#" + orderObj.getNumOfChicken().ToString()+"#"+orderObj.getStartTime();
            
            return encodedOrder;            

        }
 public static Boolean validCardNumber(Order decodedOrderObj)
 {
     if(decodedOrderObj.getCardNum()>5000 && decodedOrderObj.getCardNum()<7000)
     return true;
     else return false;
 }