Dukes Bookstore Upgrade Tax and Shipping The Duke's Bookstore website is missing functionality for calculating proper tax and shipping for orders. Add the functionality to
Dukes Bookstore Upgrade
Tax and Shipping
The Duke's Bookstore website is missing functionality for calculating proper tax and shipping for orders. Add the functionality to support proper tax and shipping calculations for the bookstore. You must compute taxes for all states that require sales taxes and shipping costs.
Additional Notes:
You will need to add this functionality to the checkout page in the application. Add a drop-down list to allow the user to pick a state for tax purposes.
Add an extra checkout page that displays the order sub-total, tax amount, shipping charges, and a grand total.
You may NOT hard-code the tax rates for the states in the program. Tax rates are data and are subject to change. Therefore the tax rates should be obtained from a database table. You will have to create a table containing states and tax rates. You will need to create a StateTax entity class and a StateTaxRequestBean to access the table, and a StateTaxConfigBean to populate the table with taxes (you may hard-code the taxes into the StateTaxConfigBean).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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