Create a new endpoint that will calculate sales tax for a given amount.
It should take two path parameters amount and category and should return a List of Objects that holds amount, state tax rate, tax amount and total amount
Acceptance Criteria
Need to use the current tax rate of the category for a state to calculate the tax.
for MI if the amount is 100 and category is computer . response should return tax rate 6 and tax amount 6 and total amount 106. need to return the response for all the states
Create a new endpoint that will calculate sales tax for a given amount.
It should take two path parameters amount and category and should return a List of Objects that holds amount, state tax rate, tax amount and total amount
Acceptance Criteria Need to use the current tax rate of the category for a state to calculate the tax. for MI if the amount is 100 and category is computer . response should return tax rate 6 and tax amount 6 and total amount 106. need to return the response for all the states