Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java! You are required to implement the Make Order Request use case using Java. The following specifies the requirements of Make Order Request using

In Java!

You are required to implement the Make Order Request use case using Java. The following specifies the requirements of Make Order Request using the use case model and use case description.

Use case name: Make Order Request

Summary: Customer enters an order request to purchase a catalog item. 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 a catalog item.

Main sequence: 1. Customer provides order request and customer account Id/password to pay for purchase. 2. System retrieves the customers credit card number from the customer account. 3. System requests to a bank checking the customers credit card for the purchase amount and, if approved, Bank creates a credit card purchase authorization number. 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

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. When a customer provides an account information, the system creates an account. 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. The system updates the customer credit card number in the system if the customer provides a new credit card number. System does the step 3. Postcondition: Customer has purchased items.

Note: Please do not submit the same code, which was submitted for this questions before because it is worng, if you dont know the answer or how to program it, jsut leave it, thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago