Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project details: For this system, you are responsible to develop the homemade cakes and pastries ordering page which will allow user to choose the items
Project details: For this system, you are responsible to develop the homemade cakes and pastries ordering page which will allow user to choose the items & quantities, to track status of the order and calculate the total price accordingly before proceeding for payment. The requirements for the order module are as follows: . A user can order the homemade cake and pastries from the system. A user can choose one or more items from the system. The user can register as member or be a guest user. Each item has member and non-member price. There will be an additional 5% discount for promotional items. minimum order of RM25 has to be met. Otherwise, there will be an additional charge. The payment for ordered item and delivery has to be made using the online payment gateway and once the payment successful, the order will be process for delivery. The delivery is only within Melaka and there's a delivery charge depending to the area in Melaka. The listing of items and delivery charges are given in Appendix A & B. cation code Jar files: Place all JAR files in C: jars 1. Application code: Your application code must have the following modules with below functionalities: i. item . contains details of each items, such as item type (cake or pastry), name, member price, non-member price . promotional items will have special indications in order to have additional 5% discount ii.meinber: contains details of registered member, such as name, address and phone number address should contain the State, District, Area, Postal Code, Street Name, Unit/House Number iii. order: . contain details of each order made, such as order id, delivery address, item(s), quantities for each item(s), price for each item(s), delivery charges & total price . For members, the registered details (name, address, phone number) will be used. For non-members, need to get the name and address first before proceed with order If the address is outside Melaka, cannot proceed to order the items. The items listings are based on Appendix A. Total order should be calculated based on the item price * quantities If it is a promotional item, 5% discount will be added . If the total order is less then RM25, an additional charge of RM3 will be added. the delivery charges will be calculated based the rates in Appendix B. total price (total order for items + delivery charges) will be calculated and shown iv. payment: Payment is made either by credit card or online banking platform. Store details such as total price, payment status, payment method Once payment is successful, the order status will be updated to "Paid & Ready for Delivery" If the payment is unsuccessful, the order status will be updated to "Pending for Payment". Create a separate class for each module. You are responsible to complete and implement the classes in the application. It is depending on how you want to design your classes. However, the stated core functionalities should be working as per expected. Note: The 'Payment' module and other modules are not ready for testing. However, you can use stub and driver to test the integration within this module. Further Information: You may give additional assumptions for your application, state them clearly in the report. To make your program more robust and avoid problems at run time, do as much status/error checking as you could in your program. And, good organization of the code and meaningful variable names would help readability, and liberal use of comments can help the marker understands what the program does and why. In addition, provide class diagram(s) to illustrate the design of your program. Appendix A: Items listing Name Type Member Price Non-member (RM) price (RM) 46.00 46.80 Promotional item No Cake Butter cake Marble cake Cake 76.50 77.20 No Cake 120.00 125.00 No Burnt Cheesecake Chocolate Indulgence Tiramisu Cake Cake 98.00 105.00 No Cake 98.00 105.00 No Oreo Cheese Cake 98.00 105.00 No Black Forest Cake 130.00 135.00 No Carrot Cake Cake 70.00 75.00 No Chocolate Cake Cake 85.00 90.00 No Red Velvet Cake 125.00 130.00 No Absolute Durian Cake 135.00 140.00 Yes 180.00 185.00 Yes 95.00 98.00 Yes Salted Caramel Cake Macadamia Cheese White Cake Chocolate Cake Apple pie (3 Pastry pieces) Cinnamon Roll Pastry (2 pieces) Croissant Pastry 9.30 9.90 No 8.20 8.70 No 4.20 4.50 No 15.00 15.50 No 13.00 13.60 No Macaron (5 Pastry pieces) Pretzel (2 Pastry pieces) Pineapple tart (1 Pastry container) Spring roll (1 Pastry container) 39.00 42.00 Yes 30.00 32.00 Yes Appendix B: Delivery rates Area Delivery rate (RM) 2.50 Alor Gajah Asahan 4.00 5.00 Ayer Keroh Bandar Hilir 5.00 Batu Berendam 3.50 4.00 3.50 Bemban Bukit Beruang Durian Tunggal Jasin 3.50 4.00 3.00 3.00 3.00 Kuala Linggi Kuala Sungai Baru Lubok China Masjid Tanah Melaka Tengah Merlimau 2.50 5.00 4.00 Selandar 4.00 2.50 2.50 Sungai Rambai Sungai Udang Tanjong Kling Ujong Pasir 4.50 4.50
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