Question: Make a JAVA program using following use case: 1. Customer provides order request and customer account Id/password to pay for purchase. If there is no
Make a JAVA program using following use case:
1. Customer provides order request and customer account Id/password to pay for purchase. If there is no account, system should ask to create new account or cancel the order.
2. System retrieves the customer's credit card number from the customer account.
3. System requests to a bank checking the customer's credit card for the purchase amount and, if approved, Bank creates a credit card purchase authorization number. If the card is declined , it should ask to enter new card or cancel the order.
4. System creates a delivery order containing account Id, item, quantity, total price, and credit card authorization number, and store the delivery order.
5. System confirms approval of purchase and displays order information to customer.


.The following depicts CustomerAccount and DeliveryOrder classes and their initial data given. Your can define more classes for implementing Make Order Request use case. When the system requests to a bank checking a customer credit card, the system displays the request on the screen and you can enter to the sytem either invalid or an authorization number. Classes for Make Order Request use case eentity CustomerAccount -Password -CardNo AccountID steve alex Jane john sam Password 2345 4567 6789 5678 7890 CardNo 12345678 23456789 45678901 56789012 89012345 CustomerEmail steve@ttu.edu alex@ttu.edu jane@ttu.edu john@ttu.edu sam@ttu.edu .The following depicts CustomerAccount and DeliveryOrder classes and their initial data given. Your can define more classes for implementing Make Order Request use case. When the system requests to a bank checking a customer credit card, the system displays the request on the screen and you can enter to the sytem either invalid or an authorization number. Classes for Make Order Request use case eentity CustomerAccount -Password -CardNo AccountID steve alex Jane john sam Password 2345 4567 6789 5678 7890 CardNo 12345678 23456789 45678901 56789012 89012345 CustomerEmail steve@ttu.edu alex@ttu.edu jane@ttu.edu john@ttu.edu sam@ttu.edu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
