Question
In JAVA: A large factory for the production of protective masks decided that it should save the clearing fee for Paypal. To this end, the
In JAVA: A large factory for the production of protective masks decided that it should save the clearing fee for Paypal. To this end, the factory's board of directors decided to invest in an R&D team to build the aforementioned system. You were accepted into the factory and selected to implement the above system. Below are the system requirements: The system will allow payment in 1. Credit card 2. Gift card System requirements: You can purchase several products in one order. Making a payment is per order. Payment with one of the card types also includes a sub-operation of clearing. 3. A credit card has the following data: A. Name by card. B. Ticket Number. third. Last 3 digits on the back of the card (CVV). d. Card validity. God. ID number. of the cardholder. 4. A gift card has the following data: A. Cardholder's name B. Card Number third. Card validity You must: - Decide what the design pattern is most suitable for the given problem. - Draw a class diagram for the design pattern. - For each department in the diagram you drew - determine what its name/role is in the template. - Implement (JAVA) the above system, according to the template and according to your diagram.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started