private Date bookingDate;
private Client client;
private Offer offer;
- private boolean isAccepted;
public Booking() {
//Booking date is assigned to actual date
this.bookingDate= new java.util.Date(System.currentTimeMillis());
this.isPaid=false;
- this.isAccepted=false;
}
public void imprimete(){
System.out.println(isPaid);
System.out.println(bookingDate);
System.out.println(client.toString());
- System.out.println(offer);
- System.out.println(this.isAccepted);
+ System.out.println(offer);
}
public int getBookNumber() {
return isPaid;
}
- public boolean isAccepted(){
- return this.isAccepted;
- }
+
public Client getClient() {
return client;