public CustomerRepresentation createCustomer(String firstName, String lastName,
List<Address> addresses, List<CreditCard> creditCards,
List<Book> books) {
Customer customer = customerDao.addCustomer(firstName, lastName, addresses, creditCards, books);
CustomerRepresentation custRep = new CustomerRepresentation();
custRep.setId(customer.getId());
custRep.setFirstName(customer.getFirstName());
custRep.setLastName(customer.getLastName());
custRep.setAddresses(customer.getAddresses());
custRep.setCreditCards(customer.getCreditCards());
custRep.setBooks(customer.getBooks());
return custRep;
}