Name custname = customer.getName();
System.out.println("Got customer Name");
description = custname.getFirstName()+
" " + custname.getLastName() +
" has been booked for the "
+ cruise.getName() +
" cruise on ship " +
cruise.getShip().getName() + ".\n" +
" Your accommodations include " +
cabin.getName() +
" a " + cabin.getBedCount() +
" bed cabin on deck level " + cabin.getDeckLevel() +
".\n Total charge = " + amount;
System.out.println("Finished the description of the Ticket");
customerID = (Integer)customer.getPrimaryKey();
cruiseID = (Integer)cruise.getPrimaryKey();
cabinID = (Integer)cabin.getPrimaryKey();
price = amount;