Merge branch 'master' of ssh://xp-dev.com/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses / src / domain / Booking.java
index 0f72a6c..cdde621 100644 (file)
@@ -10,7 +10,6 @@ public class Booking implements Serializable  {
         */
        private static final long serialVersionUID = 1L;
        private int bookingNumber;
-       private boolean isPaid;
        private Date bookingDate;
        private Client client;
        private Offer offer;
@@ -26,12 +25,10 @@ public class Booking implements Serializable  {
                this.client=client;
                //Booking date is assigned to actual date
                this.bookingDate= new java.util.Date(System.currentTimeMillis());
-               this.isPaid=false;
        }
        
        public void imprimete(){
                System.out.println(bookingNumber);
-               System.out.println(isPaid);
                System.out.println(bookingDate);
                System.out.println(client.toString());
                System.out.println(offer);      
@@ -61,20 +58,6 @@ public class Booking implements Serializable  {
                return this.bookingDate;
        }
        
-       public void paid() {
-               this.isPaid = true;
-       }
-
-       public void notPaid() {
-               this.isPaid=false;
-       }
-
-       public boolean isPaid() {
-               return isPaid;
-       }
-       
-
-
        public Client getClient() {
                return client;
        }