Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, could you please help me with the code, preferably C++, thank you! Homework#1: CS3365-Fall2017 You are required to implement the Make Order Request use

Hi, could you please help me with the code, preferably C++, thank you!

Homework#1: CS3365-Fall2017

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.

image text in transcribed

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.

Online Shopping System (OSS) - use cases Process Delivery Order Browse Catalog Customer Supplier Bill Customer Make Order Request Bank View Order CS3365 Michael Shin Copyright

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions