Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

ABC is an online company that allows customers to buy tickets for various sporting and entertainment activities. The object Ticket takes on many states during

ABC is an online company that allows customers to buy tickets for various sporting and entertainment activities. The object Ticket takes on many states during its lifecycle. Once the customer visits the website, the system first creates a new instance of a ticket and the ticket is considered initiated. After the customer selects an event and a seat, if the selection is valid then the state changes to reserved. The customer has 24 hours to pay for the reserved ticket. If 24 hours pass or the payment method isnt valid, then the ticket is considered canceled. If payment is valid and within 24 hours then the reservation is confirmed. A canceled ticket can be confirmed if valid payment is provided and the desired seat hasnt been taken yet.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions