Question

In: Computer Science

SINGAPORE Express Ticket Booking System INTRODUCTION 1.1 PURPOSE The purpose of this document is to describe...

SINGAPORE Express Ticket Booking System

  1. INTRODUCTION

1.1 PURPOSE

The purpose of this document is to describe the SINGAPORE Express Ticket Booking System which provides

the tickets validity, discount info, purchase limits, and other booking activities like,

· Confirm ticket booking

· Cancel booking

· Check ticket availability

2.0 OVERALL DESCRIPTION

2.1 PRODUCT PERSPECTIVE

It enables us to maintain the ticket details like available destinations, type of tickets/packages,

prices, date/time, available tickets, booking details, and more.

:

:

2.2 PRODUCT FUNCTIONS

It tells the short note about the product.

2.2.1 TICKET DETAILS

Customers may view their details, ticket information, destinations, date/time, total price to

pay, and discount (if any) on their ticket.

2.2.2 BOOKING

After checking the availability of the ticket, the customers can book their tickets.

2.2.3 PAYMENT

After the booking process, the customers will be redirected to the payment page where they

need to select the type of payment and the payment details. Once payment is made, the receipt

will be issued as proof of payment. The ticket will be emailed to the customers.

2.2.4 CANCEL BOOKING

If a customer cancels a booking before proceed to the payment, no amount will be charged

to the customer and the ticket will be made available for other customers. However, if a payment

has been made for the booking, only half of the amount paid by the customer will be refunded to

him/her.

1. Identify all classes, attributes. and methods in Object Oriented Software Development

Solutions

Expert Solution

Classes:

1. Booking class - for the operations of booking

2.TicketDetails - for ticket information

3. Payment - for make and refund payment

4. Train class- for the information of trains

5. Customer- for passengers information

Classes and their attributes:

1. Booking class - bookingID, bookingTicketID, bookingType,bookingDate,

2. TicketDetails - availableDestination, ticket_availability, ticketValidity, availableDestination, ticketPrice, availableTickets, ticketDate, ticketTime,ticketDescount

3. Payment - paymentType, paymentID,

4 Train - trainID, trainName, trainNumber,trainType, trainDestinations

5 Customer -customerID, customerName, customerMobile, customerUserID, cutomerPassword

Classes and their methods:

1. Booking class - addBooking(), confirmBooking(), cancelBooking().

2. TicketDetails - checkAvailabilityOfTickets(), getAvailableDestination(),

3. Payment - makePayment(). refundPayment(),

4 Train - searchForTrains(),

5. Customer - getCustomerInfo(),

Note:

I have written this classes based on the given information.

/* if you declared the attributesof class as private , you can write getter setter method to access that attributes.*/


Related Solutions

Create a level 1 Dataflow diagram for a ticket booking system based on the information from...
Create a level 1 Dataflow diagram for a ticket booking system based on the information from a usecase below The priority will be high The actor will be the employee The use case is about getting net profit, cost, and revenue reports The type is external The trigger is that net profit, cost and revenue repords will be generated by the employee The preconditions are: 1.) the data of the ticket price can be accessed after the user logs in...
Create a level 1 Dataflow diagram for a ticket booking system based on the information from...
Create a level 1 Dataflow diagram for a ticket booking system based on the information from a usecase below The priority will be high The actor will be the employee The use case is about getting net profit, cost, and revenue reports The type is external The trigger is that net profit, cost and revenue repords will be generated by the employee The preconditions are: 1.) the data of the ticket price can be accessed after the user logs in...
Create a level 1 Dataflow diagram for a ticket booking system based on the information from...
Create a level 1 Dataflow diagram for a ticket booking system based on the information from a usecase below The priority will be high The actor will be the employee The use case is about getting net profit, cost, and revenue reports The type is external The trigger is that net profit, cost and revenue repords will be generated by the employee The preconditions are: 1.) the data of the ticket price can be accessed after the user logs in...
Please describe and compare the financing and organization of the healthcare delivery system in Singapore with...
Please describe and compare the financing and organization of the healthcare delivery system in Singapore with that of the healthcare delivery system in the United States. Key points in this discussion includes: A thorough discussion of governments role, financing/funding, who/what is covered, how it is organized, how it is accessed, quality, disparities, cost, integrated, etc. (400-500 words respond) compare the healthcare system of Singapore and America.
Please describe and compare the financing and organization of the healthcare delivery system in Singapore with...
Please describe and compare the financing and organization of the healthcare delivery system in Singapore with that of the healthcare delivery system in the United States. Key points in this discussion includes: A thorough discussion of governments role, financing/funding, who/what is covered, how it is organized, how it is accessed, quality, disparities, cost, integrated, etc. 400-500 respond compare the healthcare system of Singapore and United States base on the key points in the original question.
Subject (Foundations of B.A.) Case Example The State Patrol Ticket-Processing System The purpose of the State...
Subject (Foundations of B.A.) Case Example The State Patrol Ticket-Processing System The purpose of the State Patrol ticket-processing system is to record moving violations, keep records of the fines paid by drivers when they plead guilty or are found guilty of moving violations, and notify the court that a warrant for arrest should be issued when such fines are not paid in a timely manner. A separate State Patrol system records accidents and the verification of financial responsibility (insurance). But...
Describe the nature of the document "Request for Information", at which stage of the information system...
Describe the nature of the document "Request for Information", at which stage of the information system life cycle it is used and what is its content approximately. (answer must be 20 lines)
Describe the nature of the document "Request for Information", at which stage of the information system...
Describe the nature of the document "Request for Information", at which stage of the information system life cycle it is used and what is its content approximately.
Assignment 2 Tic-Tac-Toe Game system design (10 marks) Introduction This document describes the functionalities of the...
Assignment 2 Tic-Tac-Toe Game system design Introduction This document describes the functionalities of the system and its design requirements. As first introduced in the Lab_Exercise_1, Tic-Tac-Toe is a simple game for two players. In this 1 assignment, you will implement a text-based Tic-Tac-Toe (TTT) game system that offers two game modes: 1) two human players playing against each other and 2) one human player playing against a built-in computer player in the game system. Your mission is to ensure the...
Describe the purpose and implication of observability and observer for a dynamical system, respectively, and in...
Describe the purpose and implication of observability and observer for a dynamical system, respectively, and in particular, what is their relationship? You may use examples to help explain your points.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT