Coder Social home page Coder Social logo

eshop's Introduction

Individual Project for Java Bootcamp "TravelCompany" by Codehub


Description:

The TravelCompany program implements the below:

  • User Interaction - Simple form of reading and writing at the console.
  • Data Modeling - Implementation of necessary domain classes for the core modeling of the system.
  • Ordering and discount policy - Based on the system’s requirements, customers are categorized into individual and business. They can buy tickets by paying either with cash or by using a credit card.
    • You need to make sure that the system distinguishes between the purchase methods and customer categories, because the following discounts will apply upon the basic price when buying a ticket:
      • Business customers get a discount of 10%.
      • Individual customers are subject to surcharge of 20% for all services.
      • There is a 10% discount when the customer pays by credit card.
      • There is no discount when the customer pays by cash. \
    • The discounts are cumulative. For example, a business customer purchasing a ticket using his/her credit card will receive a price reduction of 20% (10% as a business customer discount + 10% for paying with a credit card).
  • Exception Handling - Design custom exceptions:
    • when creating a customer: the email of the customer is @travelcompany.com.
    • when issuing a ticket:
      • the requested itinerary does not exist.
      • the given customer code does not exist.
    • when creating an itinerary: the airport code does not exist.
  • Reporting - Based on the purchases of each customer, the system must support the following reporting:
    • List of the total number and cost of tickets for all customers.
    • List of the total offered itineraries per destination and departure.
    • List of the customers who purchased the most tickets and the number of purchases.
    • List of the customers who have not purchased any tickets.
  • Extra:
    • Collection reports saved in files.

Requirements

TravelCompany requires the following to run:

  • Maven
  • JDK 17 or newer.

eshop's People

Contributors

athanasso avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.