Methods in ejb.reserving with parameters of type CreditCardValue |
int |
ReserveAndBuyBean.makeReservation(FlightSelection selection,
String[] passengers,
CreditCardValue creditCard,
long transId)
Adds a reservation to the database. |
void |
ReserveAndBuyBean.buyTickets(int reservationId,
CreditCardValue creditCard,
long transId)
|
int |
ReserveAndBuy.makeReservation(FlightSelection selection,
String[] passengers,
CreditCardValue creditCard,
long transId)
Given the flight, passenger information, and credit card information
creates a reservation and inserts it into the database. |
void |
ReserveAndBuy.buyTickets(int reservationId,
CreditCardValue creditCard,
long transId)
Given the reservation ID and credit card, purchase the tickets. |