Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 7bf57b ... vs 6a5d4d ... for ruralHouses/src/domain/Booking.java

Diff revisions: vs.
  @@ -10,7 +10,6 @@
10 10 private Date bookingDate;
11 11 private Client client;
12 12 private Offer offer;
13 - private boolean isAccepted;
14 13
15 14
16 15 public Booking() {
  @@ -24,7 +23,6 @@
24 23 //Booking date is assigned to actual date
25 24 this.bookingDate= new java.util.Date(System.currentTimeMillis());
26 25 this.isPaid=false;
27 - this.isAccepted=false;
28 26 }
29 27
30 28 public void imprimete(){
  @@ -32,8 +30,7 @@
32 30 System.out.println(isPaid);
33 31 System.out.println(bookingDate);
34 32 System.out.println(client.toString());
35 - System.out.println(offer);
36 - System.out.println(this.isAccepted);
33 + System.out.println(offer);
37 34 }
38 35
39 36 public int getBookNumber() {
  @@ -72,9 +69,7 @@
72 69 return isPaid;
73 70 }
74 71
75 - public boolean isAccepted(){
76 - return this.isAccepted;
77 - }
72 +
78 73
79 74 public Client getClient() {
80 75 return client;