Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework2-CS3365-Spring2018: Determine the interface classes and entity classes for the following use case. Give attributes of entity classes Use case: Check-out Customer Summary: A customer

image text in transcribed

Homework2-CS3365-Spring2018: Determine the interface classes and entity classes for the following use case. Give attributes of entity classes Use case: Check-out Customer Summary: A customer checks-out the hotel. Actors: Desk Clerk, Customer, Bank Precondition: Customer had checked-in the hotel. Description 1 The desk clerk inputs a room number for check-out. The system displays the bill including the total amount for payment. If the customer pays it with a credit card, the customer swipes the card on the card reader. The system requests charging the amount from the bank. If the card payment is successful, the bank returns a reference number and the system prints out the receipt through the receipt printer. 2 3. 4. The system updates the payment information on the bill 5 Th e system prints the bill via the bill printer Alternatives: Step 3: If the customer pays it by debit card, the customer swipes the card on the card reader and enters a PIN, and then the system requests charging the amount from the bank. The bank returns a reference number to the system if the PIN is valid. If the PIN is invalid, the system allows the customer to enter another PIN numbers three times. If payment is successful, the system prints out the receipt through the receipt printer . Step 3: If the customer pays it by cash, the desk clerk inputs the amount to the system. Step 3: If customer payment is not successful, the desk clerk asks the customer another payment type Postcondition: A customer has checked out

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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions