/** * If the ticket is still available, charge the credit card the price of the ticket, and book the * ticket if successful. * * @return true if the ticket was successfully booked, false otherwise. */ public boolean bookTicket(Ticket ticket, CreditCard creditCard) { return ticket.book(creditCard); }