Question
You are required to implement the Make Order Request use case for the on-line shopping system using an object-orient langauge (C++, C#, or Java). The
You are required to implement the Make Order Request use case for the on-line shopping system using an object-orient langauge (C++, C#, or Java). The requirements of Make Order Request are specified by means of the use case model and use case description. You can make your reasonable assumptions for the implementation of this use case if necessary.
Make Order Request use case description
Use case name: Make Order Request Summary: Customer enters an order request to purchase catalog items. The customers credit card is checked for validity and sufficient credit to pay for the requested catalog items.
Actor: Customer, Bank
Precondition: Customer has selected one or more catalog items
Main sequence: 1. Customer provides order request and customer account Id to pay for purchase. 2. System retrieves customer account information, including the customers credit card details. 3. System requests to a bank checking the customers credit card for the purchase amount and, if approved, creates a credit card purchase authorization number. 4. System creates a delivery order containing order details, customer Id, and credit card authorization number. 5. System confirms approval of purchase and displays order information to customer.
Make Order Request use case description :
Alternative sequences:
Step 2: If customer does not have an account, the system prompts the customer to provide information in order to create a new account. The customer can either enter the account information or cancel the order.
Step 3: If authorization of the customers credit card is denied (e.g., invalid credit card or insufficient funds in the customers credit card account), the system prompts the customer to enter a different credit card number. The customer can either enter a different credit card number or cancel the order.
Postcondition: Customer has purchased items.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started